Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001196/0.001196, 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.001639/0.001639, 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.9206/0.9206, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.759/1.759, 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.Nor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.099e-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.Nor): time 0.001342/0.001363, allocations: 0.6519 MB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.002579, allocations: 1.209 MB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.00262, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.002649, allocations: 3.938 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.002714, allocations: 11.92 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.003252, allocations: 229.4 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.00346, allocations: 171.7 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003567, allocations: 7.984 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003688, allocations: 91.88 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.003805, allocations: 51.91 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.00384, allocations: 16 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/0.003915, allocations: 27.92 kB / 0.9834 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.003941, allocations: 15.98 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.004009, allocations: 47.95 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.004274, allocations: 187.5 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004276, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/0.004278, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.004284, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000531/0.004815, allocations: 361.5 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.004864, allocations: 12.03 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.004893, allocations: 34.75 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.004937, allocations: 12.89 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.005023, allocations: 109.8 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.005039, allocations: 8.359 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.005061, allocations: 8.375 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005185, allocations: 50.25 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.005196, allocations: 192 / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.005212, allocations: 384 / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005219, allocations: 8.062 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.005264, allocations: 19.92 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.005703, allocations: 295.9 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.005775, allocations: 30.56 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.005797, allocations: 12.86 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.00581, allocations: 7.938 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.00622, allocations: 91.39 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 4.008e-06/0.006224, allocations: 0 / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003749/0.006599, allocations: 97.62 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.006666, allocations: 59.39 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.0068, allocations: 121.7 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.006847, allocations: 33.7 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.006918, allocations: 92.09 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.006943, allocations: 19.88 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.00704, allocations: 49.69 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.007169, allocations: 318.8 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.007327, allocations: 123.4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.007457, allocations: 151.7 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.007604, allocations: 163.6 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.007609, allocations: 3.938 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003447/0.007954, allocations: 324.4 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.008013, allocations: 67.39 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.008021, allocations: 0 / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.008048, allocations: 0 / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.008089, allocations: 11.92 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.0081, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.008382, allocations: 52.36 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.008413, allocations: 19.98 kB / 0.9863 GB, free: 12.84 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000128/0.008541, allocations: 129.8 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.008557, allocations: 7.953 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.008599, allocations: 8.438 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.008604, allocations: 3.938 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.008614, allocations: 3.984 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.00862, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.008777, allocations: 144.7 kB / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.00878, allocations: 3.938 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.008793, allocations: 7.938 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.008797, allocations: 4 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008805, allocations: 0 / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008807, allocations: 0 / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008809, allocations: 4 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.008971, allocations: 117.3 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.008982, allocations: 0 / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.008999, allocations: 7.984 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.009022, allocations: 0 / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.009076, allocations: 11.98 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.009084, allocations: 0 / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.009137, allocations: 87.28 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009137, allocations: 0 / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002138/0.009351, allocations: 35.98 kB / 0.9868 GB, free: 12.2 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005421/0.009893, allocations: 0.6593 MB / 0.9875 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.01026, allocations: 282.1 kB / 0.9877 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01027, allocations: 0 / 0.9877 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.01031, allocations: 19.94 kB / 0.9877 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01058, allocations: 16.23 kB / 0.9878 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.01246, allocations: 1.975 MB / 0.9897 GB, free: 9.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.01253, allocations: 67.34 kB / 0.9898 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.01257, allocations: 7.984 kB / 0.9898 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.01263, allocations: 20.44 kB / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of SimCode: time 2.645e-06/0.01263, allocations: 0 / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.03007, allocations: 3.759 MB / 0.9935 GB, free: 5.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.745, allocations: 15.11 kB / 0.9935 GB, free: 5.328 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_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_Nor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nor1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.007178178988397]