Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.00101/0.00101, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007446/0.007446, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.27/2.27, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004013, allocations: 15.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.7279, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.001762/0.7297, allocations: 1.693 MB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.7312, allocations: 1.154 MB / 0.958 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.7313, allocations: 1.906 kB / 0.958 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.7316, allocations: 155.7 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.7319, allocations: 141.8 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.7323, allocations: 197.6 kB / 0.9584 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.7325, allocations: 294.7 kB / 0.9587 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.7327, allocations: 50.19 kB / 0.9588 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.7328, allocations: 134.3 kB / 0.9589 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.7329, allocations: 134.7 kB / 0.959 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.733, allocations: 5.5 kB / 0.959 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.7331, allocations: 51.41 kB / 0.9591 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.7332, allocations: 82.05 kB / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.7332, allocations: 129.7 kB / 0.9593 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.7335, allocations: 361.2 kB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7335, allocations: 0 / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7335, allocations: 0 / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7335, allocations: 1 kB / 0.9596 GB, free: 4.363 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000663/0.7342, allocations: 0.5711 MB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7343, allocations: 9.844 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.7343, allocations: 37.31 kB / 0.9602 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.7344, allocations: 32.31 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.7347, allocations: 377.7 kB / 0.9606 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7348, allocations: 8.219 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.7348, allocations: 5.062 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.735, allocations: 112.2 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.735, allocations: 0.9688 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.735, allocations: 5.094 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.735, allocations: 1.062 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.7352, allocations: 59.11 kB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.7358, allocations: 0.493 MB / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.7361, allocations: 140.2 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.7363, allocations: 48.72 kB / 0.9615 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.7363, allocations: 5.922 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.7365, allocations: 112 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.7365, allocations: 0 / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004563/0.737, allocations: 226.2 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.737, allocations: 52.5 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.7375, allocations: 0.5072 MB / 0.9623 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7375, allocations: 36 kB / 0.9624 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.7376, allocations: 161.6 kB / 0.9625 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.7376, allocations: 38.3 kB / 0.9626 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7377, allocations: 36.11 kB / 0.9626 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.7377, allocations: 349.3 kB / 0.9629 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.7379, allocations: 96.98 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.7381, allocations: 131 kB / 0.9631 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.7384, allocations: 183.1 kB / 0.9633 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7384, allocations: 9.031 kB / 0.9633 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004483/0.7388, allocations: 323.9 kB / 0.9636 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7388, allocations: 9.75 kB / 0.9636 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7389, allocations: 1.625 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7389, allocations: 1.5 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.7391, allocations: 57.72 kB / 0.9637 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7391, allocations: 2.688 kB / 0.9637 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.7392, allocations: 18.77 kB / 0.9637 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.7393, allocations: 7.375 kB / 0.9637 GB, free: 1.191 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001353/0.7394, allocations: 182.9 kB / 0.9639 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.7395, allocations: 38.16 kB / 0.9639 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.7395, allocations: 42.42 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7395, allocations: 1.062 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7395, allocations: 5.281 kB / 0.964 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7395, allocations: 0 / 0.964 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.7397, allocations: 295.9 kB / 0.9643 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7397, allocations: 0 / 0.9643 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.7398, allocations: 9.781 kB / 0.9643 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7398, allocations: 5.344 kB / 0.9643 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.7398, allocations: 9.328 kB / 0.9643 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7398, allocations: 1.5 kB / 0.9643 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7398, allocations: 0 / 0.9643 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.7402, allocations: 212.2 kB / 0.9645 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.7402, allocations: 122 kB / 0.9646 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.7403, allocations: 10.48 kB / 0.9646 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.7404, allocations: 3.594 kB / 0.9646 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.7404, allocations: 23.62 kB / 0.9647 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.7405, allocations: 8.719 kB / 0.9647 GB, free: 404 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002823/0.7407, allocations: 316.8 kB / 0.965 GB, free: 220 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7407, allocations: 4 kB / 0.965 GB, free: 216 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002609/0.741, allocations: 52.12 kB / 0.965 GB, free: 208 kB / 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001437/0.7425, allocations: 1.056 MB / 0.966 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.7429, allocations: 196.2 kB / 0.9662 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7429, allocations: 0 / 0.9662 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.743, allocations: 64.06 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.7435, allocations: 82.69 kB / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.7477, allocations: 3.185 MB / 0.9695 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.7481, allocations: 0.7856 MB / 0.9703 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.7482, allocations: 59.22 kB / 0.9703 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.7484, allocations: 103.7 kB / 0.9704 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7484, allocations: 0 / 0.9704 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.7668, allocations: 6.533 MB / 0.9768 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.767, allocations: 240.7 kB / 0.977 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.676, allocations: 4 kB / 0.977 GB, free: 8.816 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches