Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0007548/0.0007548, 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.001018/0.001018, 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.9012/0.9012, 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.726/1.726, 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.Logical.Validation.Edge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.358e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001552/0.001576, allocations: 0.7208 MB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002804, allocations: 1.186 MB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.002854, allocations: 0 / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.002887, allocations: 3.938 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.002958, allocations: 11.86 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.003425, allocations: 134.3 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.003591, allocations: 119.8 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003697, allocations: 19.92 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.003811, allocations: 63.94 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.003889, allocations: 39.88 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.003913, allocations: 8 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.00397, allocations: 19.98 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.003994, allocations: 15.92 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.004044, allocations: 31.97 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004213, allocations: 131.6 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004215, allocations: 0 / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004217, allocations: 4 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004221, allocations: 0 / 0.9834 GB, free: 48 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.0004934/0.004714, allocations: 342.4 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.004757, allocations: 8.031 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.004787, allocations: 34.73 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.004824, allocations: 12.94 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.004908, allocations: 117.7 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.004922, allocations: 8.375 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.004939, allocations: 8.359 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005074, allocations: 66.22 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.005081, allocations: 192 / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00509, allocations: 8.312 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005095, allocations: 4.125 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.005194, allocations: 43.95 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.005585, allocations: 279.9 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.005706, allocations: 54.48 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.005761, allocations: 33.03 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.005772, allocations: 3.938 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.005938, allocations: 95.42 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005939, allocations: 7.875 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002867/0.006225, allocations: 145.7 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.006262, allocations: 55.39 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.006336, allocations: 117.8 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.006358, allocations: 33.7 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.006412, allocations: 88.14 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.006435, allocations: 31.77 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.006489, allocations: 37.7 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.006584, allocations: 314.8 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.0067, allocations: 85.66 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.006819, allocations: 118 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.006985, allocations: 141.9 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.006988, allocations: 0 / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002915/0.007279, allocations: 244.8 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.007316, allocations: 37.69 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.007322, allocations: 8.125 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.007338, allocations: 0 / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.007406, allocations: 11.98 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.007414, allocations: 7.938 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.007517, allocations: 27.97 kB / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.007533, allocations: 11.98 kB / 0.9859 GB, free: 13.18 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,edge1.y,edge1.u,$PRE.edge1.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 7.751e-05/0.00761, allocations: 117.8 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.00762, allocations: 15.89 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.007646, allocations: 8.438 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.007652, allocations: 7.984 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.007657, allocations: 0 / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007661, allocations: 0 / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.007968, allocations: 345.4 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007969, allocations: 3.938 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.007996, allocations: 11.98 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008, allocations: 4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.008007, allocations: 0 / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.008009, allocations: 64 / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008011, allocations: 4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.008172, allocations: 211.4 kB / 0.9866 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.008181, allocations: 7.953 kB / 0.9866 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008197, allocations: 3.984 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.008237, allocations: 4 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.008275, allocations: 7.984 kB / 0.9867 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.008286, allocations: 8 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.008323, allocations: 91.27 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008323, allocations: 4 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001665/0.008489, allocations: 23.94 kB / 0.9868 GB, free: 12.25 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006913/0.009181, allocations: 0.7474 MB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.00945, allocations: 197 kB / 0.9877 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009452, allocations: 0 / 0.9877 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.009514, allocations: 31.97 kB / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.00972, allocations: 16.45 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.01113, allocations: 1.825 MB / 0.9895 GB, free: 9.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.01118, allocations: 75.59 kB / 0.9896 GB, free: 9.156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.01121, allocations: 11.97 kB / 0.9896 GB, free: 9.145 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.01126, allocations: 20.5 kB / 0.9896 GB, free: 9.121 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01126, allocations: 0 / 0.9896 GB, free: 9.121 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.02963, allocations: 3.332 MB / 0.9929 GB, free: 5.957 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.863, allocations: 4 kB / 0.9929 GB, free: 5.953 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.933355598710477]