Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_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.005502/0.005502, allocations: 100.5 kB / 15.73 MB, free: 6.062 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.00148/0.00148, allocations: 189 kB / 16.67 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 482.6 MB / 0.755 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 64.69 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.264, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001652/0.2657, allocations: 0.6139 MB / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.267, allocations: 1.117 MB / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.2671, allocations: 4 kB / 1.244 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.785e-05/0.2672, allocations: 0 / 1.244 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.178e-05/0.2672, allocations: 7.922 kB / 1.244 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.2676, allocations: 122.8 kB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2678, allocations: 95.88 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.2678, allocations: 7.938 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.2679, allocations: 43.84 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.268, allocations: 27.95 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.268, allocations: 8 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.2681, allocations: 19.98 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.2681, allocations: 15.91 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.2682, allocations: 35.92 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2684, allocations: 88 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2684, allocations: 0 / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2684, allocations: 0 / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.2684, allocations: 4 kB / 1.244 GB, free: 6.715 MB / 0.9669 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.0004249/0.2688, allocations: 381.1 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2689, allocations: 8.031 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.2689, allocations: 30.75 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2689, allocations: 12.83 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2691, allocations: 188.2 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.2692, allocations: 8.375 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2692, allocations: 8.375 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.2693, allocations: 42.25 kB / 1.245 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2693, allocations: 3.938 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.2693, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2693, allocations: 4 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.2693, allocations: 8 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.2697, allocations: 308.7 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.2697, allocations: 26.58 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.2698, allocations: 4.859 kB / 1.245 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-06/0.2698, allocations: 0 / 1.245 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.2699, allocations: 59.45 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2699, allocations: 0 / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001575/0.2701, allocations: 61.62 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2701, allocations: 59.41 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.2702, allocations: 109.8 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2702, allocations: 29.7 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.2703, allocations: 92.11 kB / 1.245 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.2703, allocations: 3.953 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.2704, allocations: 29.7 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2705, allocations: 322.8 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.2706, allocations: 23.98 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.2707, allocations: 58.55 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.2708, allocations: 80.44 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2708, allocations: 0 / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002338/0.271, allocations: 151.5 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2711, allocations: 37.7 kB / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2711, allocations: 8.094 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2711, allocations: 0 / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.446e-05/0.2711, allocations: 4 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2711, allocations: 0 / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2713, allocations: 23.97 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2713, allocations: 15.92 kB / 1.246 GB, free: 4.277 MB / 0.9669 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 9.288e-05/0.2714, allocations: 126.2 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.2714, allocations: 0 / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.2715, allocations: 11.91 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2715, allocations: 3.984 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2715, allocations: 0 / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2715, allocations: 0 / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2716, allocations: 161.6 kB / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2716, allocations: 0 / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.2716, allocations: 0 / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2716, allocations: 0 / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2717, allocations: 11.98 kB / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2717, allocations: 0 / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2717, allocations: 0 / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.2718, allocations: 88.95 kB / 1.246 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2718, allocations: 81.11 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2718, allocations: 0 / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.2719, allocations: 0 / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.2719, allocations: 3.984 kB / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2719, allocations: 4 kB / 1.247 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.272, allocations: 83.28 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.272, allocations: 4 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000197/0.2722, allocations: 16 kB / 1.247 GB, free: 3.594 MB / 0.9669 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.0004013/0.2726, allocations: 0.6163 MB / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.2728, allocations: 123.3 kB / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2728, allocations: 192 / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.2728, allocations: 15.98 kB / 1.247 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.273, allocations: 11.98 kB / 1.247 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2744, allocations: 1.38 MB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.2747, allocations: 0.6807 MB / 1.249 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2747, allocations: 8.219 kB / 1.249 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2747, allocations: 18.81 kB / 1.249 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.2747, allocations: 0 / 1.249 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.187/1.461, allocations: 1.991 MB / 1.251 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.92, allocations: 18.56 kB / 1.251 GB, free: 14.72 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches