Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",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.0008872/0.0008872, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005409/0.005409, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 11.84 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001898/0.3335, allocations: 1.515 MB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3349, allocations: 0.9785 MB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.335, allocations: 7.938 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.3355, allocations: 151.7 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.3357, allocations: 106.2 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.3361, allocations: 150.7 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3362, allocations: 163.6 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.3363, allocations: 29.09 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.3364, allocations: 63.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.3365, allocations: 55.77 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3366, allocations: 7.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3367, allocations: 63.83 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3367, allocations: 31.91 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.3368, allocations: 81.31 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3371, allocations: 183.6 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3371, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3371, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.3371, allocations: 4 kB / 1.062 GB, free: 1.32 MB / 0.8106 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.0005614/0.3376, allocations: 468.5 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3377, allocations: 19.91 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.3377, allocations: 34.75 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.3378, allocations: 16.75 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.338, allocations: 256.8 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.338, allocations: 384 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3381, allocations: 7.938 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3382, allocations: 95.31 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3383, allocations: 4 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3383, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.3383, allocations: 4 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.3384, allocations: 35.98 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.3388, allocations: 360.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.339, allocations: 74.67 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.3391, allocations: 32.84 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3391, allocations: 0 / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.3393, allocations: 91.31 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3393, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0002958/0.3396, allocations: 141.5 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3396, allocations: 85.33 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3399, allocations: 262.8 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3399, allocations: 29.7 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.34, allocations: 120.1 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.34, allocations: 27.64 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.34, allocations: 17.72 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.3401, allocations: 330.8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3402, allocations: 27.98 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.3403, allocations: 55.41 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3404, allocations: 77.69 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3404, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001853/0.3406, allocations: 121.4 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3406, allocations: 8.781 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3406, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3406, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.3407, allocations: 11.98 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3407, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.3408, allocations: 11.94 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3408, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 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.0001176/0.3409, allocations: 145.9 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.341, allocations: 19.72 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.341, allocations: 17.39 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.341, allocations: 4 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.341, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.341, allocations: 3.938 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3412, allocations: 225.5 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3412, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.3412, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3413, allocations: 12.08 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3413, allocations: 3.938 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3413, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3413, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3415, allocations: 152.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3415, allocations: 96.91 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3416, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.3416, allocations: 8 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3417, allocations: 11.92 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3417, allocations: 8 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00016/0.3419, allocations: 192.6 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3419, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002247/0.3421, allocations: 32 kB / 1.066 GB, free: 13.26 MB / 0.8262 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.001222/0.3433, allocations: 0.9905 MB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3435, allocations: 75.91 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3435, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.3436, allocations: 35.98 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3439, allocations: 45.05 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3458, allocations: 1.976 MB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3461, allocations: 0.7243 MB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.699e-05/0.3462, allocations: 21.72 kB / 1.07 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.3462, allocations: 43.42 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3462, allocations: 4 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.425/1.772, allocations: 4.016 MB / 1.074 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.772, allocations: 241.8 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.927, allocations: 0 / 1.074 GB, free: 5.246 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches