Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001094/0.001094, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001349/0.001349, allocations: 172.7 kB / 15.95 MB, free: 208 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.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003951, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8101, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001045/0.8112, allocations: 381.2 kB / 0.9815 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.8123, allocations: 0.8219 MB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.8124, allocations: 0 / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.951e-05/0.8125, allocations: 3.984 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.8125, allocations: 7.938 kB / 0.9823 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.8127, allocations: 15.98 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.8129, allocations: 31.91 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.813, allocations: 4 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.8131, allocations: 15.92 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.8131, allocations: 15.92 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.8132, allocations: 7.938 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.8132, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.8133, allocations: 11.92 kB / 0.9824 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.8133, allocations: 33.7 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.8134, allocations: 23.94 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8134, allocations: 0 / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8134, allocations: 0 / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.8134, allocations: 0 / 0.9825 GB, free: 4.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005319/0.814, allocations: 345.6 kB / 0.9828 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.814, allocations: 8.031 kB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.8141, allocations: 46.55 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.8141, allocations: 3.906 kB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.8143, allocations: 171 kB / 0.983 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.8143, allocations: 3.984 kB / 0.983 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.8144, allocations: 8 kB / 0.983 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.8146, allocations: 69.62 kB / 0.9831 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8146, allocations: 0 / 0.9831 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.8146, allocations: 8 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8147, allocations: 0 / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.8149, allocations: 51.95 kB / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.8153, allocations: 288.7 kB / 0.9834 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.8155, allocations: 42.56 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8156, allocations: 36.88 kB / 0.9835 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.8156, allocations: 4 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.8157, allocations: 34.5 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8157, allocations: 0 / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003916/0.8161, allocations: 101.6 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.8161, allocations: 55.41 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.8162, allocations: 105.8 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8163, allocations: 25.7 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.8163, allocations: 91.98 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.8164, allocations: 3.984 kB / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.8164, allocations: 0 / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8165, allocations: 319 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.8166, allocations: 19.98 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.8167, allocations: 27.97 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.8168, allocations: 35.94 kB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8168, allocations: 0 / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.8171, allocations: 77.56 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8171, allocations: 8.031 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8171, allocations: 4 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8171, allocations: 0 / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.8173, allocations: 15.92 kB / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8173, allocations: 0 / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.8173, allocations: 11.98 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.8174, allocations: 0 / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001736/0.8175, allocations: 121.8 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.8176, allocations: 0 / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.8176, allocations: 3.125 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8176, allocations: 0 / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8176, allocations: 4 kB / 0.9845 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8176, allocations: 3.984 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.8178, allocations: 165.6 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8179, allocations: 7.938 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.8179, allocations: 11.94 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8179, allocations: 4 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.818, allocations: 3.984 kB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.818, allocations: 0 / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.818, allocations: 0 / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.8183, allocations: 175.5 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.8183, allocations: 92.91 kB / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.8184, allocations: 0 / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.8184, allocations: 8.234 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.8185, allocations: 8 kB / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.8185, allocations: 7.984 kB / 0.985 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.8186, allocations: 79.28 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8186, allocations: 4.031 kB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002124/0.8188, allocations: 4 kB / 0.9851 GB, free: 1.852 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006989/0.8195, allocations: 0.7202 MB / 0.9858 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.8197, allocations: 43.97 kB / 0.9858 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8197, allocations: 96 / 0.9858 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.8199, allocations: 35.97 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.8201, allocations: 5.484 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.8212, allocations: 438.5 kB / 0.9863 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.8216, allocations: 0.6809 MB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.8216, allocations: 4 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.8217, allocations: 11.44 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.8217, allocations: 0 / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.8338, allocations: 1.25 MB / 0.9882 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.834, allocations: 215.3 kB / 0.9884 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.648, allocations: 0 / 0.9884 GB, free: 14.51 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat does not exist to compare? outputFormat=mat