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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9402/0.9402, allocations: 177.2 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.098/2.098, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.253e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003507/0.003539, allocations: 1.854 MB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.00545, allocations: 1.159 MB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.00556, allocations: 0 / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.006274, allocations: 168.8 kB / 0.8813 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.006651, allocations: 165 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.007024, allocations: 144.6 kB / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.007288, allocations: 175.5 kB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.0074, allocations: 18.39 kB / 0.8818 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.007555, allocations: 99.67 kB / 0.8819 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.007682, allocations: 63.86 kB / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.007706, allocations: 8.656 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.007867, allocations: 67.88 kB / 0.882 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.007952, allocations: 44.56 kB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.008017, allocations: 35.86 kB / 0.8821 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.008308, allocations: 159.3 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.008311, allocations: 4 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/0.008313, allocations: 0 / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008318, allocations: 3.938 kB / 0.8822 GB, free: 2.207 MB / 0.8386 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.0006986/0.009017, allocations: 0.5246 MB / 0.8827 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.00906, allocations: 8.031 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.009133, allocations: 20.8 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.009415, allocations: 208.9 kB / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.00944, allocations: 384 / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.009456, allocations: 9.844 kB / 0.883 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.009612, allocations: 54.23 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.009622, allocations: 3.938 kB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.009633, allocations: 3.938 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.009661, allocations: 4.969 kB / 0.883 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.009716, allocations: 15.92 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.01022, allocations: 341.3 kB / 0.8834 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.01037, allocations: 63.05 kB / 0.8834 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.01041, allocations: 15.69 kB / 0.8835 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01042, allocations: 6.812 kB / 0.8835 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.01055, allocations: 73.03 kB / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.01055, allocations: 0 / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002736/0.01083, allocations: 117.5 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.01087, allocations: 51.41 kB / 0.8837 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01112, allocations: 286.5 kB / 0.884 GB, free: 260 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.01114, allocations: 29.7 kB / 0.884 GB, free: 224 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.01124, allocations: 172.5 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.01127, allocations: 19.84 kB / 0.8842 GB, free: 28 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.01134, allocations: 35.38 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.0115, allocations: 0.5001 MB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.01154, allocations: 12.62 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.01161, allocations: 72.69 kB / 0.8848 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.0117, allocations: 61.27 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0117, allocations: 0 / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001588/0.01186, allocations: 90.28 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01187, allocations: 4 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01188, allocations: 0.7812 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.0119, allocations: 4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.01198, allocations: 16 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01198, allocations: 112 / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.01204, allocations: 23.8 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.01205, allocations: 4 kB / 0.885 GB, free: 15.16 MB / 0.8542 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.0001108/0.01216, allocations: 168.5 kB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01219, allocations: 15.91 kB / 0.8851 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.01238, allocations: 103.1 kB / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.01239, allocations: 3.938 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0124, allocations: 0 / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0124, allocations: 4 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.01259, allocations: 176.5 kB / 0.8854 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01259, allocations: 0 / 0.8854 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.01262, allocations: 4 kB / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01262, allocations: 4 kB / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01263, allocations: 0 / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01263, allocations: 0 / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01263, allocations: 0 / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.01281, allocations: 148.1 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.01284, allocations: 23.83 kB / 0.8856 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01287, allocations: 4 kB / 0.8856 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.01291, allocations: 8 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.01295, allocations: 7.922 kB / 0.8856 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01296, allocations: 4 kB / 0.8856 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001529/0.01312, allocations: 204.5 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002726/0.01339, allocations: 28 kB / 0.8858 GB, free: 14.2 MB / 0.8542 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001288/0.01468, allocations: 405.9 kB / 0.8862 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01486, allocations: 47.61 kB / 0.8863 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01486, allocations: 0 / 0.8863 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.01491, allocations: 31.67 kB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01521, allocations: 50.58 kB / 0.8864 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.01572, allocations: 274.7 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.01578, allocations: 83.75 kB / 0.8867 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.01584, allocations: 21.47 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.01589, allocations: 16.5 kB / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01589, allocations: 0 / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.006152/0.02204, allocations: 2.613 MB / 0.8893 GB, free: 10.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.294499739073217]