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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008105/0.008105, allocations: 102 kB / 15.73 MB, free: 6.051 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.001775/0.001775, allocations: 195 kB / 16.68 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.899/2.899, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3376, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002501/0.3402, allocations: 0.6232 MB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3421, allocations: 1.112 MB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.3422, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3424, allocations: 4 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.3425, allocations: 7.938 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.3432, allocations: 122.3 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3434, allocations: 95.88 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3435, allocations: 7.984 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.3436, allocations: 35.86 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3438, allocations: 43.88 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.3438, allocations: 8 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.3439, allocations: 15.98 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.3439, allocations: 8 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.344, allocations: 39.91 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3442, allocations: 91.92 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3442, allocations: 0 / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3442, allocations: 4 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3443, allocations: 0 / 1.209 GB, free: 7.934 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.0005193/0.3448, allocations: 377.1 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3448, allocations: 12.62 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.3449, allocations: 42.72 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.3449, allocations: 8.844 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3452, allocations: 184.2 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3452, allocations: 384 / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3452, allocations: 12.36 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3453, allocations: 50.25 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3453, allocations: 3.938 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3453, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3454, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.3454, allocations: 12 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.3458, allocations: 300.8 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.3458, allocations: 22.56 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.3459, allocations: 12.92 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.3459, allocations: 0 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.3461, allocations: 67.73 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.3461, allocations: 0 / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002112/0.3463, allocations: 57.69 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3464, allocations: 51.41 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3465, allocations: 105.8 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3465, allocations: 33.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.3466, allocations: 92.05 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.3466, allocations: 3.906 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.3467, allocations: 33.69 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3468, allocations: 322.7 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.3469, allocations: 27.98 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.347, allocations: 46.81 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3471, allocations: 88.27 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3471, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002551/0.3474, allocations: 143.3 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.3474, allocations: 37.69 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3474, allocations: 0 / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3475, allocations: 4 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-05/0.3475, allocations: 96 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3475, allocations: 11.92 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3477, allocations: 27.97 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3478, allocations: 7.984 kB / 1.212 GB, free: 5.5 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 8.96e-05/0.3478, allocations: 117.8 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3479, allocations: 3.906 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.3479, allocations: 7.906 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3479, allocations: 4.234 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3479, allocations: 7.938 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3479, allocations: 3.984 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3481, allocations: 169.6 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3481, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.3481, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3481, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3481, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3481, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3481, allocations: 7.984 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.3482, allocations: 85 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.3483, allocations: 77.11 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3483, allocations: 0 / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.3483, allocations: 4 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.3483, allocations: 7.984 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.3483, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.3484, allocations: 83.28 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002135/0.3486, allocations: 23.94 kB / 1.212 GB, free: 4.805 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.0004038/0.349, allocations: 0.6281 MB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3492, allocations: 119.3 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3492, allocations: 4 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.3493, allocations: 11.98 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3495, allocations: 16.19 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3511, allocations: 1.369 MB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3514, allocations: 0.6807 MB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.3514, allocations: 7.938 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3514, allocations: 15.42 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3514, allocations: 4 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.3705, allocations: 2.028 MB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.837, allocations: 2.375 kB / 1.217 GB, free: 15.9 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=50 --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