Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.056 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9051, allocations: 160.7 MB / 1.213 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002291/0.9074, allocations: 0.8972 MB / 1.214 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.9091, allocations: 1.191 MB / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.9092, allocations: 2 kB / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.9093, allocations: 7.875 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.9093, allocations: 17.92 kB / 1.215 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.9099, allocations: 151.9 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.9102, allocations: 164.1 kB / 1.215 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.9103, allocations: 30.83 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.9104, allocations: 70.22 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.9105, allocations: 68.78 kB / 1.216 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.9106, allocations: 15.09 kB / 1.216 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.9106, allocations: 25.03 kB / 1.216 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.9107, allocations: 28.28 kB / 1.216 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.9108, allocations: 61.34 kB / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.911, allocations: 173.6 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.911, allocations: 1.094 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.911, allocations: 0 / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.911, allocations: 0 / 1.216 GB, free: 1.816 MB / 0.92 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.0007899/0.9118, allocations: 468.8 kB / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.9119, allocations: 10.22 kB / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.9119, allocations: 41.92 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.912, allocations: 20.59 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.9125, allocations: 247.9 kB / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.9125, allocations: 13.81 kB / 1.217 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.9126, allocations: 8.719 kB / 1.217 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.9128, allocations: 95.8 kB / 1.217 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.9128, allocations: 1.188 kB / 1.217 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.9128, allocations: 5.25 kB / 1.217 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9128, allocations: 1.188 kB / 1.217 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.913, allocations: 46.33 kB / 1.217 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.9138, allocations: 392.7 kB / 1.217 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.9139, allocations: 38.36 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.914, allocations: 28.11 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.914, allocations: 1.062 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.9143, allocations: 95.42 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.9143, allocations: 0 / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004267/0.9147, allocations: 136.6 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.9147, allocations: 57.56 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9149, allocations: 148.2 kB / 1.218 GB, free: 164 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.9149, allocations: 29.42 kB / 1.218 GB, free: 132 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.915, allocations: 117.9 kB / 1.218 GB, free: 16 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.915, allocations: 23.92 kB / 1.218 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.9151, allocations: 53.09 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9152, allocations: 322.1 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.9154, allocations: 50.11 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.9156, allocations: 136.2 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.9159, allocations: 193.8 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9159, allocations: 1.844 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004827/0.9164, allocations: 248.8 kB / 1.219 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.9165, allocations: 42.69 kB / 1.219 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.9165, allocations: 2.531 kB / 1.219 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9165, allocations: 4.031 kB / 1.219 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9166, allocations: 34.55 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9166, allocations: 8.281 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.9168, allocations: 41.64 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.9168, allocations: 13.09 kB / 1.219 GB, free: 15.05 MB / 0.9356 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 0.0001187/0.917, allocations: 136.7 kB / 1.219 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.917, allocations: 12.97 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.917, allocations: 10.97 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.917, allocations: 5.062 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.917, allocations: 1.219 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.917, allocations: 4 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.9176, allocations: 394.4 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9176, allocations: 1.219 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.9177, allocations: 16.95 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9177, allocations: 1.094 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.9177, allocations: 5.062 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9177, allocations: 1.094 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9177, allocations: 4 kB / 1.219 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.9181, allocations: 238.4 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.9182, allocations: 87.84 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.9182, allocations: 2.562 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.9183, allocations: 11.59 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.9183, allocations: 11.77 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.9184, allocations: 7.25 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.9184, allocations: 104.9 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9184, allocations: 0 / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002921/0.9187, allocations: 39.84 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0008127/0.9195, allocations: 0.7871 MB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.9199, allocations: 163.6 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9199, allocations: 1.969 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.92, allocations: 41.44 kB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.9203, allocations: 20.64 kB / 1.221 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.9229, allocations: 1.975 MB / 1.223 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.9232, allocations: 0.7071 MB / 1.223 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.9233, allocations: 16.36 kB / 1.223 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.9233, allocations: 39.02 kB / 1.224 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9233, allocations: 0 / 1.224 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.9515, allocations: 3.193 MB / 1.227 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/9.109, allocations: 3.609 kB / 1.227 GB, free: 9.109 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.034689679276198]