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.001177/0.001177, 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.001659/0.001659, allocations: 169.9 kB / 22.46 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.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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 1.974e-06/1.974e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.038e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001319/0.00134, allocations: 0.7393 MB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.00241, allocations: 1.166 MB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.002454, allocations: 0 / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.002487, allocations: 11.92 kB / 0.9829 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.002546, allocations: 15.88 kB / 0.9829 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.002962, allocations: 142.5 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003095, allocations: 111.8 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.455e-05/0.00318, allocations: 8 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.003278, allocations: 67.88 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.003349, allocations: 39.86 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.00337, allocations: 12 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.003421, allocations: 24 kB / 0.9833 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.003441, allocations: 7.984 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.003488, allocations: 39.89 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.003648, allocations: 131.7 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00365, allocations: 0 / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003652, allocations: 0 / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003657, allocations: 0 / 0.9834 GB, free: 64 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.000439/0.004096, allocations: 335.8 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004131, allocations: 8.031 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.004159, allocations: 42.69 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.004191, allocations: 4.938 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.904e-05/0.00426, allocations: 113.7 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004273, allocations: 12.36 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.004289, allocations: 12.38 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.004416, allocations: 62.22 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004423, allocations: 192 / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004431, allocations: 384 / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004437, allocations: 8.125 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.004552, allocations: 39.95 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.004964, allocations: 287.8 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.005086, allocations: 54.61 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.005139, allocations: 28.97 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.00515, allocations: 7.938 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.005314, allocations: 91.36 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.005315, allocations: 7.938 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002893/0.005605, allocations: 149.8 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.005636, allocations: 51.41 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.005703, allocations: 117.8 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.005721, allocations: 29.7 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.005765, allocations: 96.02 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.00578, allocations: 19.89 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.005829, allocations: 37.7 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.005903, allocations: 330.8 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.006006, allocations: 81.66 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.006114, allocations: 114.4 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.006264, allocations: 133.9 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006266, allocations: 8 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002681/0.006534, allocations: 248.8 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.00656, allocations: 33.7 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006565, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006576, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.006632, allocations: 15.98 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006638, allocations: 8.125 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.006742, allocations: 35.89 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.006755, allocations: 4 kB / 0.9859 GB, free: 13.21 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 6.787e-05/0.006823, allocations: 125.8 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.006833, allocations: 11.89 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.006856, allocations: 12.42 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006858, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006862, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006866, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.007152, allocations: 341.5 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007153, allocations: 7.938 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.00718, allocations: 11.98 kB / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007182, allocations: 0 / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.007189, allocations: 0 / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.007192, allocations: 4 kB / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.007195, allocations: 4.062 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.007352, allocations: 203.4 kB / 0.9866 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.007367, allocations: 11.94 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.00738, allocations: 3.938 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.007422, allocations: 8 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.007458, allocations: 7.984 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.007465, allocations: 4 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.007502, allocations: 95.31 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007502, allocations: 3.938 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001853/0.007687, allocations: 27.94 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 (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.0004025/0.00809, allocations: 0.7513 MB / 0.9875 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.008426, allocations: 189 kB / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008427, allocations: 0 / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.008495, allocations: 40.16 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.0002094/0.008704, allocations: 20.45 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.001368/0.01007, allocations: 1.806 MB / 0.9895 GB, free: 9.281 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.01013, allocations: 87.5 kB / 0.9896 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.01016, allocations: 4 kB / 0.9896 GB, free: 9.172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.0102, allocations: 20.5 kB / 0.9896 GB, free: 9.148 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.0102, allocations: 0 / 0.9896 GB, free: 9.148 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.02865, allocations: 3.334 MB / 0.9929 GB, free: 5.984 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.749, allocations: 20.11 kB / 0.9929 GB, free: 5.969 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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] "Error: Could not read variable edge1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.889420039951801]