Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 192.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 70.58 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2433, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001624/0.2449, allocations: 0.7119 MB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2462, allocations: 1.196 MB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.2463, allocations: 0 / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2463, allocations: 0 / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.2463, allocations: 7.938 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.2469, allocations: 210.4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2471, allocations: 183.7 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.2472, allocations: 8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.2473, allocations: 71.83 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.2473, allocations: 51.86 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.2474, allocations: 16 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.2475, allocations: 27.98 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.2475, allocations: 15.92 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.2476, allocations: 55.89 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2477, allocations: 147.9 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2478, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2478, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.2478, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 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.0004602/0.2482, allocations: 430.7 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2483, allocations: 16.02 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.2483, allocations: 34.75 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.2484, allocations: 12.84 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2485, allocations: 172.3 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2485, allocations: 4.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.2485, allocations: 16.36 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.134e-05/0.2486, allocations: 46.25 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2486, allocations: 3.938 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.2487, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2487, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.2487, allocations: 19.98 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2491, allocations: 360.5 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.2492, allocations: 30.58 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.2492, allocations: 20.94 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.2493, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.2494, allocations: 83.38 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2494, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002166/0.2496, allocations: 113.5 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2497, allocations: 51.41 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2498, allocations: 121.8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.2498, allocations: 29.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.2499, allocations: 96.05 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.2499, allocations: 7.906 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.25, allocations: 53.69 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2501, allocations: 322.8 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2502, allocations: 55.97 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2504, allocations: 100.2 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.2506, allocations: 155.6 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2506, allocations: 3.938 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003925/0.251, allocations: 260.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.251, allocations: 73.58 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2511, allocations: 4.125 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.2511, allocations: 7.984 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2514, allocations: 52.31 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.2515, allocations: 19.98 kB / 1.069 GB, free: 8.758 MB / 0.8262 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 9.99e-05/0.2516, allocations: 131.2 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.2516, allocations: 8 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.2516, allocations: 4.375 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2516, allocations: 7.922 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2516, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2516, allocations: 3.984 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2518, allocations: 181.6 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2518, allocations: 0 / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.2518, allocations: 4 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2518, allocations: 0 / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2518, allocations: 3.984 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2518, allocations: 4 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2518, allocations: 0 / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.252, allocations: 112.9 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.252, allocations: 89 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.252, allocations: 0 / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.2521, allocations: 0 / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2521, allocations: 11.98 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.2521, allocations: 4 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.2522, allocations: 91.27 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2522, allocations: 4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002125/0.2524, allocations: 24 kB / 1.07 GB, free: 7.992 MB / 0.8262 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.0004208/0.2528, allocations: 0.6552 MB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.2531, allocations: 246.8 kB / 1.07 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2532, allocations: 0 / 1.07 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/0.2532, allocations: 27.98 kB / 1.07 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.2534, allocations: 24.05 kB / 1.07 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.2551, allocations: 1.714 MB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2554, allocations: 0.6885 MB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.2554, allocations: 7.984 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2555, allocations: 15.44 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2555, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9181/1.174, allocations: 2.771 MB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/1.174, allocations: 201.5 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.337, allocations: 4.688 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches