Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: 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_9_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_9_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.007629/0.007629, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001963/0.001963, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6888, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001833/0.6907, allocations: 0.7278 MB / 0.9503 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.6921, allocations: 1.207 MB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.6921, allocations: 5.656 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.6922, allocations: 0 / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.6923, allocations: 9.016 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.6928, allocations: 195.5 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.693, allocations: 150.2 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.6931, allocations: 15.73 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.6932, allocations: 64.25 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.6932, allocations: 45.03 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.6933, allocations: 9.562 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.6934, allocations: 26.81 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.6934, allocations: 2.75 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.6935, allocations: 54.39 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.6936, allocations: 101.1 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6936, allocations: 0 / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6936, allocations: 0 / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6937, allocations: 4 kB / 0.9521 GB, free: 7.238 MB / 0.7169 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.0004319/0.6941, allocations: 439.6 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6941, allocations: 9.031 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.6942, allocations: 8 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.6943, allocations: 182.5 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6943, allocations: 9.75 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.6944, allocations: 13.52 kB / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.6945, allocations: 46.59 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6945, allocations: 1.469 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6945, allocations: 7.938 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6945, allocations: 5.375 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.6946, allocations: 15.23 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.695, allocations: 346.9 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.695, allocations: 36.33 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.6951, allocations: 22.59 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.6951, allocations: 5.156 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.6953, allocations: 80.03 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.6953, allocations: 0 / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002368/0.6955, allocations: 103.6 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.6955, allocations: 56.41 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.6956, allocations: 122.9 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.6957, allocations: 30.42 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.6957, allocations: 92.14 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.6957, allocations: 14.27 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.6958, allocations: 52.88 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.6959, allocations: 316.2 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.696, allocations: 59.28 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.6962, allocations: 94.75 kB / 0.9542 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.6963, allocations: 165.5 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6963, allocations: 0 / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003883/0.6967, allocations: 262.7 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.6968, allocations: 72.67 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6968, allocations: 1.625 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.6968, allocations: 1.125 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.992e-05/0.6968, allocations: 2.531 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6969, allocations: 1.688 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.6972, allocations: 55.91 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.6973, allocations: 13.39 kB / 0.9548 GB, free: 4.754 MB / 0.7169 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 7.94e-05/0.6973, allocations: 130.1 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.6974, allocations: 6.469 kB / 0.9549 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.6974, allocations: 13.58 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6974, allocations: 1.406 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6974, allocations: 0 / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6974, allocations: 1.031 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.6975, allocations: 180.4 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6975, allocations: 5.25 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.6975, allocations: 9.359 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6975, allocations: 4 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.6976, allocations: 1.219 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6976, allocations: 1.188 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6976, allocations: 0 / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.6977, allocations: 115.5 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.6978, allocations: 79.17 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6978, allocations: 1.156 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.6978, allocations: 0.9375 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.6979, allocations: 11.17 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.6979, allocations: 2.594 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.6979, allocations: 95.58 kB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6979, allocations: 0 / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002397/0.6982, allocations: 30.56 kB / 0.9554 GB, free: 4.09 MB / 0.7169 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.0001494/0.6983, allocations: 103.4 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.6986, allocations: 244 kB / 0.9557 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6986, allocations: 5.312 kB / 0.9557 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.6987, allocations: 36.09 kB / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.6989, allocations: 12.98 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.6993, allocations: 204.5 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.6994, allocations: 0.6879 MB / 0.9567 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.6994, allocations: 10.53 kB / 0.9567 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6994, allocations: 0 / 0.9567 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.003199/0.7026, allocations: 1.38 MB / 0.958 GB, free: 2.156 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches