Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0008301/0.0008301, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.0008429/0.0008429, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8806/0.8806, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.703/1.703, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.177e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00145/0.001472, allocations: 0.6322 MB / 0.9816 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.002478, allocations: 1.135 MB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.002527, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.066e-05/0.002607, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.00263, allocations: 7.875 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.003001, allocations: 130.9 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.003121, allocations: 87.83 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.003207, allocations: 15.97 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.00327, allocations: 43.97 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.003353, allocations: 27.94 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.00337, allocations: 8 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.003419, allocations: 19.94 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.003473, allocations: 7.984 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.003517, allocations: 27.98 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003657, allocations: 107.7 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003659, allocations: 0 / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00366, allocations: 4 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003664, allocations: 0 / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000342/0.004006, allocations: 308 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.004039, allocations: 8.031 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.004063, allocations: 30.75 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.004096, allocations: 4.938 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004223, allocations: 133.7 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.004233, allocations: 4.375 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004246, allocations: 4.375 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.004328, allocations: 42.25 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004335, allocations: 192 / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004342, allocations: 8.375 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004348, allocations: 8.125 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.00437, allocations: 7.984 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.004629, allocations: 259.9 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.567e-05/0.004664, allocations: 26.5 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.004679, allocations: 16.84 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.004685, allocations: 3.938 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.004787, allocations: 59.45 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004787, allocations: 3.938 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000142/0.004929, allocations: 73.58 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.004957, allocations: 51.41 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.005016, allocations: 105.8 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.005032, allocations: 29.7 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.00507, allocations: 96.09 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.005078, allocations: 3.984 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.005123, allocations: 33.69 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.005196, allocations: 314.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.005258, allocations: 53.69 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.005321, allocations: 84.25 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.005394, allocations: 84.2 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005397, allocations: 3.938 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001725/0.005569, allocations: 181 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.005594, allocations: 37.69 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.005598, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.005608, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.137e-05/0.005619, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.005625, allocations: 4 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.005751, allocations: 28.06 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.005765, allocations: 11.92 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.083e-05/0.005826, allocations: 117.8 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-06/0.005832, allocations: 4 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.005849, allocations: 8.312 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005851, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005855, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005859, allocations: 4 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.582e-05/0.005935, allocations: 140.6 kB / 0.9854 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005937, allocations: 4 kB / 0.9854 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.005939, allocations: 4 kB / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.00594, allocations: 0 / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.005946, allocations: 0 / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005947, allocations: 0 / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005947, allocations: 0 / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.609e-05/0.006014, allocations: 85 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-06/0.006018, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.006029, allocations: 11.92 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.006037, allocations: 0 / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.006057, allocations: 288 / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.006062, allocations: 4 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.00609, allocations: 95.2 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00609, allocations: 0 / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001394/0.006229, allocations: 19.94 kB / 0.9856 GB, free: 13.43 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002547/0.006484, allocations: 0.6202 MB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.006637, allocations: 145 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006638, allocations: 0 / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.006653, allocations: 4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.006806, allocations: 22.06 kB / 0.9864 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009742/0.00778, allocations: 1.485 MB / 0.9879 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.007823, allocations: 63.34 kB / 0.9879 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.007841, allocations: 8.234 kB / 0.9879 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.007869, allocations: 12.5 kB / 0.9879 GB, free: 10.88 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.007869, allocations: 4 kB / 0.988 GB, free: 10.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.02261, allocations: 2.749 MB / 0.9906 GB, free: 8.297 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/6.868, allocations: 6.203 kB / 0.9906 GB, free: 8.297 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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: 10.82695139478892]