Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006896/0.006896, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001669/0.001669, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 70.69 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3807, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003119/0.3839, allocations: 1.779 MB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3855, allocations: 1.023 MB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.3856, allocations: 3.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.3863, allocations: 163.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.3865, allocations: 119.6 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.387, allocations: 165.9 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3872, allocations: 167.6 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3873, allocations: 36.84 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3875, allocations: 71.69 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3876, allocations: 63.77 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3876, allocations: 11.94 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3878, allocations: 59.95 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3878, allocations: 43.84 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.3879, allocations: 63.59 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3882, allocations: 195.4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3882, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3882, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3882, allocations: 0 / 1.092 GB, free: 13.55 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007394/0.389, allocations: 0.4924 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.389, allocations: 12.03 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.3891, allocations: 12.75 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3895, allocations: 252.8 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3895, allocations: 4.375 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3895, allocations: 12.12 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3897, allocations: 91.31 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3897, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3898, allocations: 3.984 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.3898, allocations: 4 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3899, allocations: 31.98 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.3905, allocations: 360.6 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3907, allocations: 74.67 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.3908, allocations: 32.84 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3908, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.391, allocations: 83.33 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.391, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003525/0.3913, allocations: 149.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3914, allocations: 85.05 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.3917, allocations: 255 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3917, allocations: 33.7 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.3918, allocations: 116.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3918, allocations: 31.66 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3919, allocations: 25.72 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3921, allocations: 330.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.3922, allocations: 31.98 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.3922, allocations: 59.42 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3924, allocations: 69.64 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3924, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001958/0.3926, allocations: 121.3 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3926, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3926, allocations: 4.062 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3927, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.3927, allocations: 11.98 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3927, allocations: 160 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.3928, allocations: 11.94 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3928, allocations: 4.375 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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): 8 * Array equations: 1 * 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.0001472/0.393, allocations: 138.3 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.393, allocations: 19.81 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.3931, allocations: 29.38 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3931, allocations: 7.938 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3931, allocations: 3.938 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3931, allocations: 3.938 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3933, allocations: 225.5 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3933, allocations: 3.984 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.3934, allocations: 4 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3934, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3934, allocations: 4 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3934, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3934, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3936, allocations: 152.8 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.3937, allocations: 92.86 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3937, allocations: 4 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.3938, allocations: 4 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3938, allocations: 7.984 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3939, allocations: 3.938 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001828/0.394, allocations: 196.6 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3941, allocations: 0 / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.3943, allocations: 31.98 kB / 1.095 GB, free: 9.508 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0009812/0.3953, allocations: 439.7 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3955, allocations: 71.91 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3955, allocations: 0 / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.3956, allocations: 32 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3959, allocations: 37.45 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.3964, allocations: 295 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3967, allocations: 0.7201 MB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.368e-05/0.3968, allocations: 25.72 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3969, allocations: 27.36 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3969, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.005636/0.4025, allocations: 2.327 MB / 1.099 GB, free: 5.676 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches