Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001301/0.001301, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.00153/0.00153, allocations: 215.5 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.293/3.293, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 70.83 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3833, allocations: 176.1 MB / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00225/0.3856, allocations: 0.7278 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3873, allocations: 1.167 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.3873, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.3873, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/0.3874, allocations: 15.88 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.3879, allocations: 138.9 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3881, allocations: 115.8 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3882, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3883, allocations: 47.89 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3884, allocations: 51.81 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3885, allocations: 16 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.3885, allocations: 20 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3886, allocations: 15.97 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.3886, allocations: 35.86 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3888, allocations: 111.9 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3888, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3888, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3889, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006529/0.3895, allocations: 343.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3896, allocations: 8.031 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3896, allocations: 34.75 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.3896, allocations: 12.89 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3898, allocations: 122.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.3898, allocations: 12.34 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3898, allocations: 4.375 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.39, allocations: 70.16 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.39, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3901, allocations: 7.922 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3901, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3902, allocations: 43.97 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.3908, allocations: 279.9 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3909, allocations: 54.55 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3911, allocations: 32.95 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3911, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3913, allocations: 95.31 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3913, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.3918, allocations: 137.6 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.3918, allocations: 55.41 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3919, allocations: 117.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.392, allocations: 33.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.392, allocations: 92.12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3921, allocations: 19.84 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.3922, allocations: 41.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3923, allocations: 322.8 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3925, allocations: 85.66 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3927, allocations: 120.6 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.393, allocations: 141.9 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.393, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004938/0.3935, allocations: 248.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3935, allocations: 33.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3936, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3936, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3937, allocations: 16.17 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3937, allocations: 7.938 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3939, allocations: 39.91 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3939, allocations: 8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001163/0.3941, allocations: 124.2 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.3941, allocations: 11.94 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.3941, allocations: 8.375 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3941, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3941, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3941, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.3946, allocations: 337.5 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3946, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.3947, allocations: 11.98 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3947, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.395, allocations: 223.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.395, allocations: 15.88 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.395, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.3951, allocations: 8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3952, allocations: 11.92 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3952, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.3952, allocations: 91.27 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3952, allocations: 3.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002646/0.3955, allocations: 28 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006962/0.3962, allocations: 0.7523 MB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3966, allocations: 189 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3966, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3967, allocations: 36.22 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.397, allocations: 15.92 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3993, allocations: 1.803 MB / 1.334 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.628e-05/0.3994, allocations: 81.14 kB / 1.334 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3994, allocations: 4 kB / 1.334 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.3995, allocations: 23.42 kB / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3995, allocations: 0 / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.4294, allocations: 3.242 MB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 12.02 kB / 1.338 GB, free: 5.09 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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: 18.446762509993277]