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.00225/0.00225, allocations: 85.48 kB / 19.44 MB, free: 344 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.002036/0.002036, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.4/3.4, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.727e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003548/0.003576, allocations: 1.817 MB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.005859, allocations: 1.149 MB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.005939, allocations: 3.938 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.006687, allocations: 163.5 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.007105, allocations: 160.3 kB / 0.8807 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.0075, allocations: 136.5 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.007781, allocations: 183.5 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.007881, allocations: 18.36 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.00806, allocations: 99.72 kB / 0.8811 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.008191, allocations: 63.86 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.008219, allocations: 9.062 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.008389, allocations: 67.81 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.008493, allocations: 43.86 kB / 0.8812 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.008563, allocations: 32.89 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.008926, allocations: 211.3 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.00893, allocations: 0.6562 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008932, allocations: 0 / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.008937, allocations: 5.219 kB / 0.8815 GB, free: 2.512 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.0008886/0.009825, allocations: 0.5398 MB / 0.882 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.009859, allocations: 8.031 kB / 0.882 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.009937, allocations: 25.39 kB / 0.882 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.01027, allocations: 189.6 kB / 0.8822 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.01029, allocations: 4.375 kB / 0.8822 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.0103, allocations: 8.359 kB / 0.8822 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.01049, allocations: 62.17 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.0105, allocations: 4.719 kB / 0.8823 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.01052, allocations: 4 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.01053, allocations: 4.562 kB / 0.8823 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.01063, allocations: 25.08 kB / 0.8823 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.01125, allocations: 371.5 kB / 0.8827 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.01146, allocations: 71.77 kB / 0.8828 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.01153, allocations: 27.67 kB / 0.8828 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01155, allocations: 5.062 kB / 0.8828 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.01173, allocations: 80.98 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.01173, allocations: 3.531 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003643/0.01209, allocations: 133.4 kB / 0.883 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.01214, allocations: 55.41 kB / 0.8831 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.01251, allocations: 322.5 kB / 0.8834 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01254, allocations: 25.7 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.01269, allocations: 178.9 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.01272, allocations: 27.75 kB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.01279, allocations: 43.36 kB / 0.8836 GB, free: 144 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003093/0.0131, allocations: 0.5118 MB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.01317, allocations: 20.77 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01329, allocations: 80.75 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.01343, allocations: 67.83 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01343, allocations: 1.438 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000213/0.01364, allocations: 101.5 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01366, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01366, allocations: 64 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01368, allocations: 8 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.01375, allocations: 11.98 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01376, allocations: 0 / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.01382, allocations: 11.92 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01383, allocations: 8 kB / 0.8844 GB, free: 15.28 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.0001555/0.01399, allocations: 176.5 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.01403, allocations: 19.86 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.01431, allocations: 115.2 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.01432, allocations: 4 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01432, allocations: 4 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.01433, allocations: 7.969 kB / 0.8847 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.01458, allocations: 192.5 kB / 0.8849 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01458, allocations: 0 / 0.8849 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.01461, allocations: 7.984 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01461, allocations: 0 / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01463, allocations: 11.94 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01463, allocations: 0 / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01463, allocations: 0 / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.0149, allocations: 156.1 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.01494, allocations: 15.91 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01496, allocations: 8 kB / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.01502, allocations: 7.984 kB / 0.8851 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.01506, allocations: 3.984 kB / 0.8851 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01507, allocations: 4 kB / 0.8851 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002445/0.01531, allocations: 224.5 kB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01531, allocations: 0 / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002482/0.01556, allocations: 35.92 kB / 0.8854 GB, free: 14.23 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.00296/0.01852, allocations: 454.8 kB / 0.8858 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.01875, allocations: 67.59 kB / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01875, allocations: 0 / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.01885, allocations: 43.61 kB / 0.8859 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01918, allocations: 47.17 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.0198, allocations: 286.7 kB / 0.8862 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.01993, allocations: 114.8 kB / 0.8863 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.02, allocations: 21.78 kB / 0.8864 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.02006, allocations: 24.48 kB / 0.8864 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.02006, allocations: 0 / 0.8864 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.006915/0.02697, allocations: 2.423 MB / 0.8888 GB, free: 10.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.52665935200639]