Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0015/0.0015, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001626/0.001626, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.452/1.452, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.39 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003457/0.3228, allocations: 1.775 MB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3246, allocations: 1.03 MB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.3247, allocations: 7.938 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.3254, allocations: 167.4 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.3257, allocations: 112.1 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.3262, allocations: 171.3 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.3264, allocations: 171.6 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3266, allocations: 17.12 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3267, allocations: 67.75 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3268, allocations: 67.75 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3268, allocations: 8 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.327, allocations: 59.91 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.3271, allocations: 55.83 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.3272, allocations: 59.61 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3275, allocations: 195.7 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3275, allocations: 0 / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3275, allocations: 0 / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3275, allocations: 0 / 1.022 GB, free: 6.707 MB / 0.795 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.0007616/0.3283, allocations: 496.2 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3283, allocations: 8.031 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.3284, allocations: 20.73 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3287, allocations: 244.9 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3287, allocations: 4.312 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3287, allocations: 12.12 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3289, allocations: 91.3 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3289, allocations: 0 / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.329, allocations: 0 / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.329, allocations: 4 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.3291, allocations: 35.98 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.3296, allocations: 360.6 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3299, allocations: 74.66 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3299, allocations: 32.84 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.33, allocations: 4 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.3301, allocations: 79.33 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3302, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0003542/0.3305, allocations: 153.3 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.3306, allocations: 81.11 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.3309, allocations: 255 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.331, allocations: 33.69 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.3311, allocations: 123.9 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3311, allocations: 23.73 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.3312, allocations: 29.72 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3313, allocations: 330.8 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.3314, allocations: 27.98 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.3315, allocations: 55.42 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3316, allocations: 77.67 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3317, allocations: 4 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002229/0.3319, allocations: 117.5 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3319, allocations: 8 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3319, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3319, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.332, allocations: 11.98 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.332, allocations: 0 / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.3321, allocations: 19.88 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3321, allocations: 4 kB / 1.025 GB, free: 3.68 MB / 0.795 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.00014/0.3323, allocations: 142.6 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3323, allocations: 11.81 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3323, allocations: 25.39 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3324, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3324, allocations: 3.938 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3324, allocations: 3.938 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.3326, allocations: 225.5 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3326, allocations: 3.984 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.3327, allocations: 4 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3327, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3327, allocations: 8 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3327, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3327, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3329, allocations: 144.8 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.333, allocations: 92.92 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.333, allocations: 8 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.3331, allocations: 0 / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3331, allocations: 7.984 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3332, allocations: 7.938 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001988/0.3334, allocations: 188.6 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3334, allocations: 0 / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000248/0.3336, allocations: 39.89 kB / 1.025 GB, free: 2.688 MB / 0.795 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.001519/0.3351, allocations: 434.9 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3354, allocations: 75.91 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3354, allocations: 0 / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.3355, allocations: 39.92 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3358, allocations: 36.39 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.3364, allocations: 336.9 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3368, allocations: 0.7318 MB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.3369, allocations: 15.44 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3369, allocations: 0 / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of Templates: time 0.004988/0.3418, allocations: 2.545 MB / 1.029 GB, free: 14.6 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches