Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.866/0.866, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.367e-06/3.367e-06, allocations: 3.938 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.997e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001509/0.001539, allocations: 0.7168 MB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.002765, allocations: 1.143 MB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.002823, allocations: 0 / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.002857, allocations: 7.922 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.002948, allocations: 19.86 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.003398, allocations: 133.3 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.003576, allocations: 127.7 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003684, allocations: 11.98 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.003792, allocations: 71.89 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.003883, allocations: 31.94 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.003908, allocations: 12 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.003965, allocations: 24 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.003989, allocations: 11.92 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.00404, allocations: 27.98 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004226, allocations: 155.6 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004229, allocations: 0 / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/0.004231, allocations: 0 / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004236, allocations: 0 / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004737/0.004709, allocations: 327.8 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.004751, allocations: 16.03 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.004778, allocations: 38.67 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.004816, allocations: 4.938 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.005242, allocations: 117.8 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.005262, allocations: 384 / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.00528, allocations: 8.375 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005386, allocations: 46.19 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.005395, allocations: 192 / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005403, allocations: 4.359 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005409, allocations: 4.125 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.005449, allocations: 16 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.005839, allocations: 291.8 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.005911, allocations: 26.58 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.005933, allocations: 12.92 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.005946, allocations: 3.938 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.006131, allocations: 67.38 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.006133, allocations: 7.938 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002245/0.006358, allocations: 73.67 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.006405, allocations: 51.41 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006511, allocations: 129.8 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.006528, allocations: 33.7 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.006584, allocations: 88.14 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.006599, allocations: 7.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.006649, allocations: 33.7 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.006744, allocations: 318.8 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.006837, allocations: 69.69 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.00692, allocations: 84.25 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.007014, allocations: 96.2 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.007017, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002127/0.00723, allocations: 204.9 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.00728, allocations: 41.69 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.007287, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.007304, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.007372, allocations: 4 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.00738, allocations: 3.938 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.007512, allocations: 23.97 kB / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.007527, allocations: 7.984 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/0.007602, allocations: 121.9 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.007612, allocations: 11.89 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.007635, allocations: 11.94 kB / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007637, allocations: 0 / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.007642, allocations: 0 / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007645, allocations: 0 / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.007728, allocations: 140.7 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.00773, allocations: 3.938 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.007744, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.007746, allocations: 64 / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007753, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007754, allocations: 4 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007756, allocations: 3.938 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.00785, allocations: 93 kB / 0.986 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.007865, allocations: 11.94 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.007876, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.007891, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.007917, allocations: 3.984 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.007923, allocations: 4 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.007965, allocations: 99.27 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007965, allocations: 0 / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000147/0.008112, allocations: 23.89 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/0.008445, allocations: 0.6241 MB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.008637, allocations: 157 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008639, allocations: 0 / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.008662, allocations: 15.98 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.008846, allocations: 23.92 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01007, allocations: 1.624 MB / 0.9885 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.01011, allocations: 71.58 kB / 0.9886 GB, free: 10.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.01015, allocations: 4 kB / 0.9886 GB, free: 10.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.01019, allocations: 20.48 kB / 0.9886 GB, free: 10.26 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.01019, allocations: 0 / 0.9886 GB, free: 10.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02665, allocations: 3.147 MB / 0.9916 GB, free: 7.289 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.843, allocations: 2.5 kB / 0.9917 GB, free: 7.289 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.803755505010486]