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.000838/0.000838, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008429/0.0008429, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8622/0.8622, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.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: Performance of FrontEnd - loaded program: time 4.178e-06/4.178e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.45e-05, allocations: 6.219 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001597/0.001631, allocations: 0.7428 MB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002761, allocations: 1.174 MB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.002821, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.002858, allocations: 7.875 kB / 0.9829 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.091e-05/0.002939, allocations: 19.92 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.003426, allocations: 126.1 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003582, allocations: 123.7 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003685, allocations: 15.92 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003796, allocations: 67.88 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.003873, allocations: 27.95 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.003896, allocations: 11.98 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.003954, allocations: 27.98 kB / 0.9833 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.003976, allocations: 11.92 kB / 0.9833 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.004026, allocations: 35.97 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004197, allocations: 131.7 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004199, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.112e-06/0.0042, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.004205, allocations: 0 / 0.9834 GB, free: 60 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004715/0.004676, allocations: 335.8 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.004716, allocations: 8.031 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.004742, allocations: 38.73 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.004775, allocations: 4.938 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.004847, allocations: 117.7 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.004862, allocations: 20.31 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.004876, allocations: 4.375 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005, allocations: 66.22 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005007, allocations: 192 / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005015, allocations: 384 / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.00502, allocations: 4.125 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.005114, allocations: 43.95 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.005487, allocations: 287.8 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.005605, allocations: 58.61 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.005655, allocations: 24.97 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.005666, allocations: 3.938 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.005823, allocations: 91.42 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005824, allocations: 0 / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002812/0.006105, allocations: 149.5 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.006137, allocations: 51.41 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.006199, allocations: 125.8 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.006215, allocations: 25.7 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.00627, allocations: 92.09 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.006288, allocations: 19.89 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.006338, allocations: 37.7 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.006409, allocations: 322.8 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.006513, allocations: 81.67 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.00662, allocations: 121.9 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.006766, allocations: 150.1 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006768, allocations: 3.938 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000249/0.007017, allocations: 244.8 kB / 0.9858 GB, free: 13.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.007042, allocations: 33.69 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.007047, allocations: 4 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007058, allocations: 0 / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.007113, allocations: 19.92 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.00712, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.007226, allocations: 36.03 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.007239, allocations: 7.984 kB / 0.9859 GB, free: 13.2 MB / 0.948 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 6.314e-05/0.007302, allocations: 121.8 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.007313, allocations: 15.88 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.007333, allocations: 8.438 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007335, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007339, allocations: 0 / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007344, allocations: 3.984 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.007611, allocations: 345.5 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007612, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.007634, allocations: 11.98 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007635, allocations: 0 / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007642, allocations: 0 / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007643, allocations: 64 / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.007647, allocations: 11.94 kB / 0.9864 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.007792, allocations: 199.4 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.007801, allocations: 11.95 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007813, allocations: 4 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.007852, allocations: 7.984 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.007885, allocations: 7.984 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.00789, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.007925, allocations: 103.8 kB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007925, allocations: 0 / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001707/0.008096, allocations: 20 kB / 0.9868 GB, free: 12.27 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: 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.000375/0.008471, allocations: 0.7513 MB / 0.9875 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.008701, allocations: 200.9 kB / 0.9877 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008702, allocations: 3.938 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.008758, allocations: 27.98 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.008939, allocations: 20.23 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.01021, allocations: 1.814 MB / 0.9895 GB, free: 9.273 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.01025, allocations: 75.58 kB / 0.9896 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.01028, allocations: 8 kB / 0.9896 GB, free: 9.172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.01031, allocations: 24.48 kB / 0.9896 GB, free: 9.145 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.01031, allocations: 0 / 0.9896 GB, free: 9.145 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.024, allocations: 3.338 MB / 0.9929 GB, free: 5.977 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.892, allocations: 9.75 kB / 0.9929 GB, free: 5.973 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.842256774194539]