Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.005077/0.005077, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001454/0.001454, allocations: 193.3 kB / 16.68 MB, free: 6.363 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.434/2.434, allocations: 437.1 MB / 0.7106 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 67.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2459, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001606/0.2475, allocations: 0.6167 MB / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2488, allocations: 1.121 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.2488, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.297e-05/0.2489, allocations: 7.922 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.677e-05/0.2489, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2494, allocations: 128 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2495, allocations: 91.88 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.651e-05/0.2496, allocations: 8 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.2496, allocations: 35.91 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.2497, allocations: 35.88 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2498, allocations: 11.94 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.2498, allocations: 27.98 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.2499, allocations: 4 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.2499, allocations: 31.91 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2501, allocations: 95.94 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.2501, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2501, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2501, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 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.000415/0.2505, allocations: 381 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2506, allocations: 12.03 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.2506, allocations: 34.75 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.2507, allocations: 12.88 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.2508, allocations: 176.3 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2508, allocations: 8.375 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2509, allocations: 4.375 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.251, allocations: 50.23 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.251, allocations: 7.938 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-06/0.251, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.251, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.251, allocations: 15.94 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.2514, allocations: 308.8 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.2514, allocations: 18.58 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.2514, allocations: 20.83 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.2514, allocations: 0 / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.2515, allocations: 51.41 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2516, allocations: 4 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.2517, allocations: 69.62 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2518, allocations: 55.34 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.2518, allocations: 109.8 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2519, allocations: 29.7 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.2519, allocations: 80.14 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.2519, allocations: 11.95 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.252, allocations: 29.7 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2521, allocations: 322.8 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.2522, allocations: 27.98 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.2523, allocations: 46.56 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2524, allocations: 84.2 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2524, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002252/0.2526, allocations: 147.2 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.2527, allocations: 43.72 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2527, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2527, allocations: 3.938 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.248e-05/0.2527, allocations: 7.938 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2527, allocations: 0 / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2529, allocations: 23.97 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2529, allocations: 7.984 kB / 1.17 GB, free: 2.578 MB / 0.92 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 8.598e-05/0.253, allocations: 125.8 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.253, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.2531, allocations: 3.906 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2531, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2531, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2531, allocations: 4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2532, allocations: 165.6 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2532, allocations: 4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.2532, allocations: 320 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2532, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2532, allocations: 11.94 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2532, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2532, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.2533, allocations: 89 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.2534, allocations: 77.11 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2534, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.2534, allocations: 288 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.2534, allocations: 4 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2535, allocations: 4 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.2535, allocations: 87.27 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2535, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001914/0.2537, allocations: 16 kB / 1.171 GB, free: 1.891 MB / 0.92 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.0003884/0.2541, allocations: 0.6318 MB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.2543, allocations: 123.4 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2543, allocations: 0 / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.2543, allocations: 15.94 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.2545, allocations: 7.984 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2558, allocations: 1.373 MB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2561, allocations: 0.6768 MB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.2561, allocations: 4 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.2561, allocations: 15.38 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2561, allocations: 0 / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/2.161, allocations: 2.007 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/13.25, allocations: 8.078 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches