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.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.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.0008955/0.0008955, allocations: 91.45 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.305 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.467/2.467, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 11.94 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8161, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008891/0.8171, allocations: 397.4 kB / 0.9561 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.818, allocations: 0.8274 MB / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.818, allocations: 0 / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.693e-05/0.8181, allocations: 8.906 kB / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.839e-05/0.8181, allocations: 0 / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.8183, allocations: 20.73 kB / 0.9569 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.8184, allocations: 29.11 kB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.8185, allocations: 11.92 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.8186, allocations: 12.08 kB / 0.957 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.8186, allocations: 13.64 kB / 0.957 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.8187, allocations: 1.312 kB / 0.957 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.8187, allocations: 9.219 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.8187, allocations: 6.469 kB / 0.957 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.8188, allocations: 40.97 kB / 0.957 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.8189, allocations: 26.34 kB / 0.9571 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8189, allocations: 0 / 0.9571 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8189, allocations: 1.531 kB / 0.9571 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.8189, allocations: 0 / 0.9571 GB, free: 6.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004151/0.8193, allocations: 347.7 kB / 0.9574 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8194, allocations: 17.34 kB / 0.9574 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.8194, allocations: 10.28 kB / 0.9574 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.8195, allocations: 172.1 kB / 0.9576 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8195, allocations: 6.219 kB / 0.9576 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.8196, allocations: 2.875 kB / 0.9576 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.8198, allocations: 64.86 kB / 0.9577 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.8198, allocations: 192 / 0.9577 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8198, allocations: 7.938 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8198, allocations: 1.344 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.82, allocations: 57.73 kB / 0.9577 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.8203, allocations: 284.3 kB / 0.958 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.8205, allocations: 46.25 kB / 0.958 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.8206, allocations: 36.83 kB / 0.9581 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.8206, allocations: 0 / 0.9581 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.8206, allocations: 36 kB / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.8207, allocations: 0 / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003774/0.821, allocations: 101 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.8211, allocations: 52.62 kB / 0.9583 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.8211, allocations: 104.6 kB / 0.9584 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.8212, allocations: 25.7 kB / 0.9584 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.8212, allocations: 86.45 kB / 0.9585 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.8212, allocations: 10.38 kB / 0.9585 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.8212, allocations: 11.88 kB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.8213, allocations: 320 kB / 0.9588 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.8214, allocations: 25.95 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.8215, allocations: 27.25 kB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.8217, allocations: 59.31 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8217, allocations: 0 / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002127/0.8219, allocations: 88.47 kB / 0.959 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8219, allocations: 5.781 kB / 0.959 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8219, allocations: 0 / 0.959 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8219, allocations: 0 / 0.959 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.822, allocations: 17.08 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8221, allocations: 0 / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.8221, allocations: 13.91 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.8221, allocations: 1.375 kB / 0.959 GB, free: 4.672 MB / 0.7169 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.983e-05/0.8222, allocations: 117.5 kB / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.8223, allocations: 1.375 kB / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.8223, allocations: 7.125 kB / 0.9591 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8223, allocations: 1.25 kB / 0.9591 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8223, allocations: 0 / 0.9591 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8223, allocations: 0 / 0.9591 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.8224, allocations: 170.3 kB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8224, allocations: 4 kB / 0.9593 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.8225, allocations: 12.36 kB / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8225, allocations: 1.062 kB / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8225, allocations: 256 / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8226, allocations: 5.188 kB / 0.9593 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8226, allocations: 0 / 0.9593 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.8228, allocations: 179.8 kB / 0.9595 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.8228, allocations: 85 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8228, allocations: 9.719 kB / 0.9596 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.8229, allocations: 5.844 kB / 0.9596 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.823, allocations: 14.31 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.823, allocations: 1.5 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.823, allocations: 83.16 kB / 0.9597 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.823, allocations: 0 / 0.9597 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002211/0.8233, allocations: 4.438 kB / 0.9597 GB, free: 3.969 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: 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 0.0001016/0.8234, allocations: 102.3 kB / 0.9598 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.8236, allocations: 56.14 kB / 0.9598 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8236, allocations: 0 / 0.9598 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.8237, allocations: 26.77 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.8239, allocations: 5.344 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.8242, allocations: 161.1 kB / 0.96 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.8244, allocations: 0.6837 MB / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.8244, allocations: 8.812 kB / 0.9607 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8244, allocations: 0 / 0.9607 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of Templates: time 0.001885/0.8263, allocations: 0.6758 MB / 0.9614 GB, free: 2.625 MB / 0.7169 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