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.001593/0.001593, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.608/2.608, allocations: 469.8 MB / 0.7424 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 77.67 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2658, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001692/0.2675, allocations: 0.6563 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2689, allocations: 1.192 MB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.2689, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.269, allocations: 3.938 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.269, allocations: 11.92 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.2696, allocations: 217.4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2698, allocations: 191.6 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.2699, allocations: 8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.27, allocations: 67.89 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.2701, allocations: 55.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.2701, allocations: 16 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.2702, allocations: 23.98 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.2702, allocations: 19.92 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.2703, allocations: 51.89 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2705, allocations: 147.9 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2705, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2705, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2705, allocations: 0 / 1.067 GB, free: 11.58 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.0004734/0.271, allocations: 434.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.271, allocations: 8.031 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.2711, allocations: 38.73 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.2711, allocations: 16.84 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2713, allocations: 172.3 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2713, allocations: 4.375 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2713, allocations: 8.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2714, allocations: 54.23 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2714, allocations: 3.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2714, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2714, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.2715, allocations: 15.98 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.2719, allocations: 360.5 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.272, allocations: 34.58 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.272, allocations: 12.95 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2721, allocations: 7.984 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2722, allocations: 79.31 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2722, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002199/0.2724, allocations: 105.5 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2725, allocations: 55.41 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.2726, allocations: 117.8 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2726, allocations: 33.69 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.2727, allocations: 92.05 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2727, allocations: 11.91 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.2728, allocations: 49.69 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2729, allocations: 326.8 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2731, allocations: 55.97 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2732, allocations: 97.31 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2734, allocations: 155.6 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2734, allocations: 7.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003978/0.2738, allocations: 260.8 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.2739, allocations: 67.39 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2739, allocations: 4 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2739, allocations: 0 / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.2739, allocations: 4 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2739, allocations: 4.125 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.2743, allocations: 55.89 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.2743, allocations: 20.45 kB / 1.069 GB, free: 8.547 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.533e-05/0.2744, allocations: 129.7 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2744, allocations: 4 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.2745, allocations: 8.375 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2745, allocations: 4 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2745, allocations: 3.938 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2745, allocations: 0 / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2746, allocations: 185.6 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2746, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.2746, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2746, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2747, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2747, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2747, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.2748, allocations: 120.9 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.2749, allocations: 85 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2749, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.2749, allocations: 4 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.2749, allocations: 7.984 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2749, allocations: 7.984 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.275, allocations: 87.28 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.275, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002149/0.2752, allocations: 35.98 kB / 1.07 GB, free: 7.777 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.0004362/0.2757, allocations: 0.6591 MB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.276, allocations: 238.7 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.276, allocations: 4.25 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.2761, allocations: 27.98 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.2763, allocations: 23.86 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.278, allocations: 1.704 MB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2783, allocations: 0.6846 MB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.2783, allocations: 4 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.2784, allocations: 23.42 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2784, allocations: 0 / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.615/0.8934, allocations: 2.869 MB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.89, allocations: 2.5 kB / 1.076 GB, free: 1.438 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