Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_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.007415/0.007415, allocations: 102 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.001495/0.001495, allocations: 194.2 kB / 16.67 MB, free: 5.961 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: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9885, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001797/0.9903, allocations: 0.6292 MB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.9917, allocations: 1.118 MB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.9917, allocations: 5.094 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.9919, allocations: 0.7031 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.934e-05/0.9919, allocations: 5.688 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.9924, allocations: 117.1 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.9926, allocations: 95.11 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.9926, allocations: 8.297 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.9927, allocations: 31.08 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.9928, allocations: 39.42 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.9929, allocations: 8.719 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.993, allocations: 25.48 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.993, allocations: 13.72 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.9931, allocations: 27.89 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.9933, allocations: 92.81 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9933, allocations: 0 / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9933, allocations: 0 / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.9934, allocations: 1.156 kB / 1.09 GB, free: 3.836 MB / 0.8575 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.0004229/0.9938, allocations: 379.5 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.9938, allocations: 9.25 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.316e-05/0.9939, allocations: 32.7 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.994, allocations: 5.531 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.9941, allocations: 180.8 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.9941, allocations: 3.766 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.9942, allocations: 13.22 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.9943, allocations: 44.09 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9943, allocations: 3.938 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.9943, allocations: 8.719 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.9943, allocations: 1.516 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.9944, allocations: 7.984 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.9947, allocations: 311.9 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.9948, allocations: 22.5 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.9948, allocations: 11.52 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-06/0.9948, allocations: 5.734 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.995, allocations: 56.19 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.995, allocations: 0.8438 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.9952, allocations: 62.98 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.9952, allocations: 53.73 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.9953, allocations: 114.3 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.9953, allocations: 27.02 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.9953, allocations: 92.94 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.9954, allocations: 9.484 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.9954, allocations: 30.5 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.9955, allocations: 317.1 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.9956, allocations: 32.39 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.9957, allocations: 52.69 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.9958, allocations: 87.88 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9958, allocations: 0 / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002413/0.996, allocations: 143.5 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.9961, allocations: 38.8 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9961, allocations: 1.062 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9961, allocations: 5.594 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.541e-05/0.9961, allocations: 2.672 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9961, allocations: 0 / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.9963, allocations: 25.36 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.9964, allocations: 5.688 kB / 1.092 GB, free: 1.809 MB / 0.8575 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 6.973e-05/0.9964, allocations: 124.4 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.9964, allocations: 2.25 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.9965, allocations: 10.27 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.9965, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9965, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.9965, allocations: 2.016 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.412e-05/0.9966, allocations: 166.9 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9966, allocations: 4.453 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-06/0.9966, allocations: 1.828 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9966, allocations: 0 / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.9966, allocations: 1.656 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9966, allocations: 0 / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9966, allocations: 1.156 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.991e-05/0.9967, allocations: 87.38 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.9968, allocations: 79.5 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.9968, allocations: 2.734 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.9968, allocations: 0 / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.9968, allocations: 6.797 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.9968, allocations: 2.531 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.9969, allocations: 92.67 kB / 1.092 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9969, allocations: 4 kB / 1.092 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002116/0.9971, allocations: 15.89 kB / 1.092 GB, free: 1.195 MB / 0.8575 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.0003472/0.9974, allocations: 0.6192 MB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.9977, allocations: 119.3 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9977, allocations: 192 / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.9977, allocations: 20.83 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.9979, allocations: 6.469 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.9996, allocations: 1.371 MB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.9999, allocations: 0.6803 MB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.9999, allocations: 11.02 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/1, allocations: 18.03 kB / 1.095 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1, allocations: 0 / 1.095 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/1.019, allocations: 2.021 MB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.764, allocations: 9.375 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches