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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8176, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002991/0.8206, allocations: 0.6315 MB / 1.214 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.8225, allocations: 1.123 MB / 1.215 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.8226, allocations: 4.75 kB / 1.215 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.8227, allocations: 4.969 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.8227, allocations: 9 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.8233, allocations: 123.9 kB / 1.215 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.8235, allocations: 89.8 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.8236, allocations: 2.938 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.8236, allocations: 36.52 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.8238, allocations: 36.31 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.8238, allocations: 8.938 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.8239, allocations: 29.45 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.8239, allocations: 8.359 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.824, allocations: 29.45 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.8242, allocations: 93.8 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8242, allocations: 0 / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8242, allocations: 5.031 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8242, allocations: 0 / 1.215 GB, free: 2.215 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.0005986/0.8248, allocations: 383.7 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8249, allocations: 10.41 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.8249, allocations: 35.88 kB / 1.215 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.825, allocations: 8.359 kB / 1.215 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.8253, allocations: 183.5 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.8253, allocations: 2.562 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.8253, allocations: 9.594 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.8255, allocations: 47.62 kB / 1.216 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8255, allocations: 3.938 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8255, allocations: 0 / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.8255, allocations: 0.7188 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.8255, allocations: 10.5 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.8263, allocations: 312.2 kB / 1.216 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.8263, allocations: 20.45 kB / 1.216 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.8264, allocations: 7.203 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.8264, allocations: 0 / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.8266, allocations: 58.48 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.8266, allocations: 4 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002805/0.8269, allocations: 67.3 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.827, allocations: 52.47 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.8271, allocations: 105.1 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.8271, allocations: 31.92 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.8272, allocations: 87.31 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.8272, allocations: 6.172 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.8273, allocations: 33.7 kB / 1.216 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.8275, allocations: 319.7 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.8276, allocations: 26.92 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8277, allocations: 51.92 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.8278, allocations: 76.05 kB / 1.217 GB, free: 252 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8279, allocations: 5.031 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003381/0.8282, allocations: 163.3 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.8282, allocations: 36.45 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.8283, allocations: 1 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8283, allocations: 1.75 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.075e-05/0.8283, allocations: 1.062 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8283, allocations: 1.094 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.8285, allocations: 28.52 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.8286, allocations: 7.969 kB / 1.217 GB, free: 72 kB / 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.0001627/0.8287, allocations: 124.8 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.8287, allocations: 2.312 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.8288, allocations: 12.89 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8288, allocations: 0 / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8288, allocations: 1.188 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8288, allocations: 0 / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.829, allocations: 169.3 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.829, allocations: 0 / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.829, allocations: 0.8125 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.829, allocations: 5.094 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.829, allocations: 5.172 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.829, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.829, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.8292, allocations: 83.36 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.8294, allocations: 78.23 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8295, allocations: 0 / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.8295, allocations: 1.094 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.8295, allocations: 9.047 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.8295, allocations: 2.594 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.8296, allocations: 86.91 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8296, allocations: 1.094 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002441/0.8298, allocations: 17.72 kB / 1.218 GB, free: 15.44 MB / 0.9356 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.0006015/0.8304, allocations: 0.6236 MB / 1.218 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.8307, allocations: 108.8 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8307, allocations: 0 / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.8307, allocations: 13.61 kB / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.831, allocations: 8.812 kB / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.8331, allocations: 1.381 MB / 1.22 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.8335, allocations: 0.6804 MB / 1.221 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.8335, allocations: 5.203 kB / 1.221 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.8336, allocations: 13.66 kB / 1.221 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8336, allocations: 0 / 1.221 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.8607, allocations: 2.002 MB / 1.222 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/9.082, allocations: 10.44 kB / 1.222 GB, free: 11.66 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.266833628993481]