Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.89 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2688, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001762/0.2706, allocations: 0.6661 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2721, allocations: 1.195 MB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.2721, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2721, allocations: 3.938 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.2722, allocations: 19.84 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.2728, allocations: 215.2 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2731, allocations: 171.8 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.2731, allocations: 11.97 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.2732, allocations: 63.89 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2734, allocations: 59.84 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.2734, allocations: 16 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.2735, allocations: 35.92 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.2735, allocations: 7.938 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.2736, allocations: 67.81 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.2738, allocations: 143.9 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2738, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2738, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2738, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 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.0005257/0.2743, allocations: 442.6 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2744, allocations: 12.03 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.2744, allocations: 30.75 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.2744, allocations: 16.88 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2746, allocations: 172.3 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2746, allocations: 8.375 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.2746, allocations: 8.375 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2747, allocations: 50.17 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2747, allocations: 3.938 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2747, allocations: 8 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2747, allocations: 0 / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.2748, allocations: 15.94 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.2752, allocations: 348.7 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.2753, allocations: 42.5 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.2753, allocations: 12.86 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2754, allocations: 0 / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2755, allocations: 79.45 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2755, allocations: 0 / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002456/0.2757, allocations: 113.5 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2758, allocations: 59.41 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.2759, allocations: 117.8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2759, allocations: 29.7 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.276, allocations: 96.08 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.276, allocations: 15.91 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.2761, allocations: 49.69 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2762, allocations: 318.8 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2764, allocations: 59.97 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2765, allocations: 92.27 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2768, allocations: 168 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2768, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004592/0.2772, allocations: 264.9 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.2773, allocations: 67.39 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2773, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2773, allocations: 4 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.2773, allocations: 4 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2773, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.2777, allocations: 56.02 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2777, allocations: 15.98 kB / 1.221 GB, free: 10.22 MB / 0.9669 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,and1.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.0001107/0.2778, allocations: 123.3 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2778, allocations: 7.953 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.2778, allocations: 12.3 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2778, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2778, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2778, allocations: 4 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.278, allocations: 185.5 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.278, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.278, allocations: 7.922 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.278, allocations: 0 / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.278, allocations: 7.984 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.278, allocations: 0 / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.278, allocations: 0 / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.2782, allocations: 113 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2782, allocations: 81.11 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2782, allocations: 0 / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.2783, allocations: 4 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.2783, allocations: 11.92 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2783, allocations: 4 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.2784, allocations: 95.2 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2784, allocations: 0 / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002263/0.2786, allocations: 28 kB / 1.221 GB, free: 9.449 MB / 0.9669 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,and1.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.000524/0.2791, allocations: 0.6553 MB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2795, allocations: 214.7 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2795, allocations: 0 / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.2795, allocations: 23.92 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2797, allocations: 21.95 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2817, allocations: 1.728 MB / 1.224 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.282, allocations: 0.6865 MB / 1.225 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.282, allocations: 4 kB / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.2821, allocations: 19.42 kB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.2821, allocations: 0 / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3064, allocations: 2.872 MB / 1.228 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.442, allocations: 2.922 kB / 1.228 GB, free: 3.137 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable and1.u1 in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.599197158000607]