Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001675/0.001675, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8213, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001735/0.823, allocations: 0.6646 MB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.824, allocations: 0.8304 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.824, allocations: 0.8438 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.8241, allocations: 6.062 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.646e-05/0.8241, allocations: 7.875 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.8243, allocations: 21.7 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.8244, allocations: 32.89 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.8245, allocations: 14.16 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.8245, allocations: 12.55 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.8246, allocations: 16.66 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.8246, allocations: 3.188 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.8246, allocations: 2.438 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.8247, allocations: 18.17 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.8247, allocations: 13.52 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.8248, allocations: 37.92 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8248, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8249, allocations: 1.125 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.8249, allocations: 3.938 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003962/0.8253, allocations: 357.3 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8253, allocations: 10.31 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.8253, allocations: 3.156 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8255, allocations: 171.2 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.8255, allocations: 1.5 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8255, allocations: 7.062 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.8257, allocations: 62.88 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.8257, allocations: 5.188 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8257, allocations: 8.594 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8257, allocations: 1.062 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.8259, allocations: 47.64 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.8262, allocations: 275.9 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.8264, allocations: 43.7 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.8265, allocations: 28.78 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8265, allocations: 0 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.8265, allocations: 32.36 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.8265, allocations: 0.9375 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.8269, allocations: 91.88 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.827, allocations: 52.98 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.827, allocations: 107.8 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.827, allocations: 25.7 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.8271, allocations: 83.09 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.8271, allocations: 5.719 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.8271, allocations: 17.97 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.8272, allocations: 325.3 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.8273, allocations: 23.58 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.8274, allocations: 15.95 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.8276, allocations: 43.61 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8276, allocations: 1.594 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.8278, allocations: 70.2 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8278, allocations: 5.578 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8278, allocations: 1.25 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.8278, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.8279, allocations: 8.844 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.828, allocations: 5.781 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.828, allocations: 9.656 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.828, allocations: 1.547 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.527e-05/0.8281, allocations: 122 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8282, allocations: 5.438 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.8282, allocations: 8.797 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8282, allocations: 0.75 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8282, allocations: 5.062 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8282, allocations: 0 / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.8283, allocations: 165.3 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8283, allocations: 1.281 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.8284, allocations: 12.48 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8284, allocations: 1.703 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.8284, allocations: 1.188 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8285, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8285, allocations: 0.7656 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.8287, allocations: 171.1 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.8287, allocations: 85.78 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8287, allocations: 6.109 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.8288, allocations: 5.453 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.8289, allocations: 8.516 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8289, allocations: 1.125 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.8289, allocations: 85.81 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8289, allocations: 0 / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000224/0.8292, allocations: 4.812 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.623e-05/0.8293, allocations: 102.8 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.8295, allocations: 43.19 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8295, allocations: 3.938 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.8296, allocations: 22.44 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.8299, allocations: 3.422 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.8301, allocations: 155 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.8303, allocations: 0.6811 MB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.8303, allocations: 9.375 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.8303, allocations: 0 / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of Templates: time 0.002151/0.8325, allocations: 0.6817 MB / 1.094 GB, free: 0.918 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches