Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008086/0.0008086, 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.00132/0.00132, allocations: 165.9 kB / 22.45 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.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.728/1.728, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.IntegratorWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.38e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001739/0.001762, allocations: 0.8495 MB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003041, allocations: 1.194 MB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.003107, allocations: 4 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.003144, allocations: 11.86 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.003218, allocations: 15.8 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.003716, allocations: 158.2 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.003933, allocations: 167.6 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.004081, allocations: 29.22 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.004239, allocations: 99.84 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004344, allocations: 47.86 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.004375, allocations: 16 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.004459, allocations: 31.92 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.004491, allocations: 23.91 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.00456, allocations: 51.89 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.004819, allocations: 195.4 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.004824, allocations: 4 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.883e-06/0.004826, allocations: 0 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.004833, allocations: 3.938 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006945/0.005528, allocations: 414.1 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.005574, allocations: 8.75 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.005609, allocations: 38.75 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.005666, allocations: 16.88 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.006053, allocations: 191.9 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.006068, allocations: 4.375 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.006101, allocations: 16.38 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.006274, allocations: 86.2 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006281, allocations: 4.125 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006293, allocations: 4.375 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006299, allocations: 3.938 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.0064, allocations: 51.95 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.006955, allocations: 343.6 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.818e-05/0.007034, allocations: 30.56 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.007081, allocations: 20.97 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.007102, allocations: 4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.007339, allocations: 99.28 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.00734, allocations: 4 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002851/0.007625, allocations: 133.8 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.00766, allocations: 55.41 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.007749, allocations: 141.9 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.00777, allocations: 33.64 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.007827, allocations: 112.1 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.007847, allocations: 35.73 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.007904, allocations: 49.62 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.007989, allocations: 330.8 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.008112, allocations: 85.66 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.008244, allocations: 152.8 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.008451, allocations: 204.6 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.008455, allocations: 4 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003343/0.008789, allocations: 276.6 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.008829, allocations: 35.42 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.008837, allocations: 0 / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.008854, allocations: 4 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.008929, allocations: 28.02 kB / 1.005 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.008941, allocations: 8.312 kB / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.009059, allocations: 47.84 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.00908, allocations: 15.98 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 9.614e-05/0.009177, allocations: 125.8 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.009191, allocations: 7.953 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.009234, allocations: 16.77 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009238, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.009244, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.00925, allocations: 4 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.009661, allocations: 373.4 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009663, allocations: 0 / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.009709, allocations: 11.98 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.009712, allocations: 4 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.009721, allocations: 4 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.009724, allocations: 3.938 kB / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009725, allocations: 0 / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.009965, allocations: 243.4 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.009977, allocations: 11.91 kB / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.009993, allocations: 8 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.01004, allocations: 11.97 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.01007, allocations: 7.984 kB / 1.006 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01008, allocations: 4 kB / 1.006 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.01013, allocations: 109 kB / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01013, allocations: 0 / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002302/0.01036, allocations: 31.94 kB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004798/0.01084, allocations: 0.7825 MB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.0111, allocations: 201.5 kB / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01111, allocations: 192 / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.01117, allocations: 43.91 kB / 1.007 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01139, allocations: 19.92 kB / 1.007 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.01303, allocations: 2.058 MB / 1.009 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.0131, allocations: 93.67 kB / 1.01 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01317, allocations: 16.83 kB / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.01322, allocations: 40.48 kB / 1.01 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of SimCode: time 7.52e-07/0.01322, allocations: 3.938 kB / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03235, allocations: 3.982 MB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.601, allocations: 6.062 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.649263483472168]