Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.923/0.923, allocations: 177.1 MB / 203.5 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.835e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001256/0.001284, allocations: 0.6142 MB / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.002556, allocations: 1.131 MB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.002606, allocations: 4 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.755e-05/0.002704, allocations: 7.938 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.002724, allocations: 3.938 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.003149, allocations: 129.8 kB / 0.984 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.003278, allocations: 87.83 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.00337, allocations: 11.97 kB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.003435, allocations: 47.95 kB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.003536, allocations: 20.02 kB / 0.9842 GB, free: 16 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003555, allocations: 8 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.003611, allocations: 23.94 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.003669, allocations: 19.91 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.003719, allocations: 23.98 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.00388, allocations: 111.6 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003882, allocations: 0 / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003883, allocations: 0 / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.003887, allocations: 3.938 kB / 0.9844 GB, free: 15.81 MB / 0.948 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.0003871/0.004274, allocations: 307.9 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004312, allocations: 8.031 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.004356, allocations: 8.938 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.0045, allocations: 117.7 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004514, allocations: 4.375 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004528, allocations: 8.375 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.004623, allocations: 54.23 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004631, allocations: 192 / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004639, allocations: 384 / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004643, allocations: 384 / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.00467, allocations: 19.88 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.004926, allocations: 232.5 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.004969, allocations: 22.58 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.201e-05/0.004981, allocations: 4.859 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.00499, allocations: 3.938 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.005121, allocations: 71.39 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005121, allocations: 0 / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001622/0.005284, allocations: 65.64 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.005317, allocations: 55.39 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.005376, allocations: 101.9 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.005394, allocations: 33.64 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.005435, allocations: 100.1 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.005442, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.005486, allocations: 29.7 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.00556, allocations: 314.8 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.005626, allocations: 69.61 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.005691, allocations: 76.27 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.005763, allocations: 80.2 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005765, allocations: 4 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001771/0.005943, allocations: 184.9 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.005976, allocations: 36.52 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005981, allocations: 0 / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005992, allocations: 0 / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.519e-05/0.006008, allocations: 4.406 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.006014, allocations: 7.984 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.006147, allocations: 23.97 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.006161, allocations: 8 kB / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.674e-05/0.006228, allocations: 117.8 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.006234, allocations: 7.938 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.006256, allocations: 11.98 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006258, allocations: 240 / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006262, allocations: 3.938 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006266, allocations: 7.984 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.097e-05/0.006337, allocations: 109.3 kB / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006338, allocations: 0 / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-06/0.006341, allocations: 0 / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.006345, allocations: 7.938 kB / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.00635, allocations: 0 / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006351, allocations: 0 / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006352, allocations: 3.938 kB / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.006428, allocations: 81.08 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006434, allocations: 3.984 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006444, allocations: 3.938 kB / 0.9867 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.006455, allocations: 8 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.006477, allocations: 0 / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.00648, allocations: 0 / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.00651, allocations: 87.27 kB / 0.9868 GB, free: 13.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.00651, allocations: 4 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000146/0.006656, allocations: 12 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001178/0.006774, allocations: 103.2 kB / 0.9869 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.006945, allocations: 148.9 kB / 0.987 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006947, allocations: 4.188 kB / 0.987 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.006966, allocations: 4 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.007128, allocations: 11.98 kB / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.007377, allocations: 153.9 kB / 0.9872 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.007421, allocations: 67.34 kB / 0.9873 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.007437, allocations: 8.5 kB / 0.9873 GB, free: 12.47 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.007438, allocations: 0 / 0.9873 GB, free: 12.47 MB / 0.948 GB Notification: Performance of Templates: time 0.002219/0.009657, allocations: 0.9358 MB / 0.9882 GB, free: 11.55 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.998517072759569]