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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.000899/0.000899, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001118/0.001118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 12 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.793, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0008713/0.7939, allocations: 355.8 kB / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.7953, allocations: 1.088 MB / 0.9825 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.7953, allocations: 4 kB / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.7954, allocations: 0 / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.228e-05/0.7954, allocations: 7.922 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.7959, allocations: 110.9 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.796, allocations: 71.88 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.7961, allocations: 8 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.7962, allocations: 31.92 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.7963, allocations: 23.95 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.7963, allocations: 4 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.7964, allocations: 23.92 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.7964, allocations: 7.984 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.7965, allocations: 29.7 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.7966, allocations: 62.11 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7966, allocations: 0 / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7966, allocations: 0 / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7966, allocations: 0 / 0.9829 GB, free: 4.414 MB / 0.7325 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.0004147/0.797, allocations: 380.9 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.7971, allocations: 8.031 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.7971, allocations: 34.56 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.7972, allocations: 7.906 kB / 0.9833 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7974, allocations: 183 kB / 0.9835 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7974, allocations: 7.938 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.7974, allocations: 4 kB / 0.9835 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.7975, allocations: 49.64 kB / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7975, allocations: 4 kB / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.7975, allocations: 0 / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.7976, allocations: 0 / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.7976, allocations: 19.97 kB / 0.9836 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.7979, allocations: 300.8 kB / 0.9839 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.798, allocations: 22.58 kB / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.798, allocations: 8.859 kB / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.798, allocations: 0 / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.7982, allocations: 67.3 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.7982, allocations: 0 / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001696/0.7983, allocations: 57.69 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.7984, allocations: 55.39 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.7985, allocations: 101.9 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.7985, allocations: 37.69 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.7985, allocations: 92.05 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-06/0.7986, allocations: 0 / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.7986, allocations: 4 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.7987, allocations: 314.8 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.7988, allocations: 27.98 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.7988, allocations: 54.48 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.7989, allocations: 57.66 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7989, allocations: 0 / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002139/0.7991, allocations: 147.2 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.7992, allocations: 37.7 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7992, allocations: 0 / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7992, allocations: 4 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.499e-05/0.7992, allocations: 320 / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7992, allocations: 0 / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.7995, allocations: 51.98 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.7995, allocations: 4 kB / 0.985 GB, free: 2.051 MB / 0.7325 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.04e-05/0.7996, allocations: 117.8 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.7996, allocations: 4 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.7996, allocations: 7.891 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7996, allocations: 7.938 kB / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7996, allocations: 3.938 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7997, allocations: 0 / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.7998, allocations: 173.5 kB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7998, allocations: 3.953 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.7998, allocations: 7.984 kB / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7998, allocations: 0 / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.7998, allocations: 0 / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7998, allocations: 0 / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7998, allocations: 0 / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.7999, allocations: 77.12 kB / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.8, allocations: 85.06 kB / 0.9854 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.8, allocations: 4.266 kB / 0.9854 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.8, allocations: 0 / 0.9854 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.8, allocations: 0 / 0.9854 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8, allocations: 4 kB / 0.9854 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.8001, allocations: 83.28 kB / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8001, allocations: 0 / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002038/0.8003, allocations: 19.98 kB / 0.9855 GB, free: 1.363 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/0.8007, allocations: 0.624 MB / 0.9861 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.8009, allocations: 127.3 kB / 0.9863 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8009, allocations: 0 / 0.9863 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.8009, allocations: 12.19 kB / 0.9863 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.8011, allocations: 8 kB / 0.9863 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.8019, allocations: 0.4956 MB / 0.9868 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.8021, allocations: 0.6887 MB / 0.9874 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.8022, allocations: 4 kB / 0.9874 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.8022, allocations: 11.44 kB / 0.9875 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8022, allocations: 0 / 0.9875 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.8139, allocations: 1.748 MB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.8141, allocations: 216 kB / 0.9894 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.572, allocations: 0 / 0.9894 GB, free: 13.48 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat does not exist to compare? outputFormat=mat