Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 99.36 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.002709/0.002709, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.485/1.485, 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 12.0.0-master/package.mo): time 3.041/3.041, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.11 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4163, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002703/0.4191, allocations: 0.715 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.4208, allocations: 1.194 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.4209, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.422e-05/0.421, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.4211, allocations: 11.88 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.4218, allocations: 198.7 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.4221, allocations: 187.6 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4222, allocations: 16 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.4223, allocations: 63.89 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.4224, allocations: 51.86 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.4225, allocations: 16 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.4226, allocations: 27.92 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.4226, allocations: 15.92 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.552e-05/0.4227, allocations: 55.89 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.4229, allocations: 147.6 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.423, allocations: 4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.423, allocations: 4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.423, allocations: 0 / 1.07 GB, free: 8.059 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.0006325/0.4236, allocations: 427 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4237, allocations: 12.03 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.4237, allocations: 16.77 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4239, allocations: 168.4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.4239, allocations: 8.375 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.4239, allocations: 8.375 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4241, allocations: 50.23 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4241, allocations: 4.188 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4241, allocations: 7.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4241, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.4242, allocations: 12 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.4247, allocations: 356.6 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.4249, allocations: 38.5 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.4249, allocations: 20.86 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4249, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.4251, allocations: 79.39 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4251, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003383/0.4255, allocations: 109.6 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4255, allocations: 51.41 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4257, allocations: 113.8 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.4258, allocations: 33.7 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.4259, allocations: 96.41 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.4259, allocations: 11.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.426, allocations: 49.69 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.4262, allocations: 318.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4264, allocations: 71.84 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4266, allocations: 92.27 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.4268, allocations: 159.6 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4268, allocations: 3.938 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000448/0.4273, allocations: 264.9 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.4273, allocations: 67.39 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4273, allocations: 8.062 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4274, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.4274, allocations: 4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4274, allocations: 3.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.4278, allocations: 55.83 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.4278, allocations: 12.06 kB / 1.073 GB, free: 5.074 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 0.0001199/0.4279, allocations: 139.2 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.4279, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.428, allocations: 8.375 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.428, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.428, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.428, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.4282, allocations: 189.5 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4282, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.4282, allocations: 4 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4282, allocations: 8.078 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4282, allocations: 3.938 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4282, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4282, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4284, allocations: 113 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.4284, allocations: 81.02 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4285, allocations: 7.984 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.4285, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4285, allocations: 8 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4285, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.4286, allocations: 91.27 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4286, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002477/0.4288, allocations: 28 kB / 1.074 GB, free: 4.309 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.0001847/0.429, allocations: 107.2 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.4294, allocations: 254.6 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4294, allocations: 4 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.4295, allocations: 27.98 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4298, allocations: 20.48 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.4302, allocations: 166.9 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4305, allocations: 0.6846 MB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.4305, allocations: 7.781 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.4306, allocations: 15.44 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4306, allocations: 0 / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004919/0.4355, allocations: 1.836 MB / 1.077 GB, free: 1.137 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches