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.009536/0.009536, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001358/0.001359, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.714/2.714, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3372, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00231/0.3396, allocations: 0.6264 MB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3412, allocations: 1.121 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3413, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3414, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.604e-05/0.3415, allocations: 7.938 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3422, allocations: 118.7 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.3425, allocations: 95.88 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3426, allocations: 11.98 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3427, allocations: 31.92 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3429, allocations: 43.81 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.3429, allocations: 11.94 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.343, allocations: 23.98 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.3431, allocations: 8 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.3432, allocations: 31.91 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3434, allocations: 90.58 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3434, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3434, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.3434, allocations: 0 / 1.168 GB, free: 5.059 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.0005714/0.344, allocations: 385.7 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.344, allocations: 8.031 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3441, allocations: 38.73 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.3441, allocations: 4.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3444, allocations: 188.5 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3444, allocations: 8.359 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3444, allocations: 8.312 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3446, allocations: 42.25 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3446, allocations: 3.938 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3446, allocations: 4 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3446, allocations: 0 / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.3447, allocations: 8 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.3451, allocations: 312.8 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.3451, allocations: 14.58 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.3452, allocations: 12.92 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3452, allocations: 0 / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.3453, allocations: 59.39 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3453, allocations: 4 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002148/0.3456, allocations: 61.53 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3456, allocations: 55.41 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3457, allocations: 109.8 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3458, allocations: 29.7 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.3458, allocations: 92.05 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.3458, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.3459, allocations: 33.69 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3461, allocations: 322.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3461, allocations: 27.98 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.3462, allocations: 42.56 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3464, allocations: 84.44 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3464, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002694/0.3467, allocations: 151.2 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.3467, allocations: 37.69 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3467, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3467, allocations: 7.938 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.809e-05/0.3468, allocations: 3.938 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3468, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.347, allocations: 23.97 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.347, allocations: 7.984 kB / 1.17 GB, free: 2.629 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 0.0001038/0.3471, allocations: 129.8 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.3472, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.3472, allocations: 11.91 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3472, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3472, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3472, allocations: 3.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3473, allocations: 169.5 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3474, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.3474, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3474, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3474, allocations: 4 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3474, allocations: 4 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3474, allocations: 3.984 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.3475, allocations: 80.97 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3476, allocations: 77.11 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3476, allocations: 4 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.3476, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3476, allocations: 7.922 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3476, allocations: 4.312 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.3477, allocations: 91.28 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3477, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002078/0.3479, allocations: 12 kB / 1.171 GB, free: 1.934 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.0004246/0.3483, allocations: 0.6241 MB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3486, allocations: 123.3 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3486, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.3486, allocations: 15.98 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3488, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.3504, allocations: 1.373 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3507, allocations: 0.6807 MB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.3507, allocations: 4 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3508, allocations: 19.36 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.3508, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3702, allocations: 2 MB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.126, allocations: 6.906 kB / 1.176 GB, free: 13.07 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=50 --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