Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.001074/0.001074, allocations: 91.61 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.001206/0.001207, 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005395, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8019, allocations: 142.3 MB / 0.9539 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.0008452/0.8028, allocations: 0.5684 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.8037, allocations: 0.8748 MB / 0.9553 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.8038, allocations: 1.25 kB / 0.9553 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.8039, allocations: 12.84 kB / 0.9553 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.804, allocations: 24.55 kB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.8042, allocations: 30.73 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.8043, allocations: 125.9 kB / 0.9555 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.8045, allocations: 41.5 kB / 0.9555 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.8046, allocations: 48.86 kB / 0.9556 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.8047, allocations: 69.61 kB / 0.9556 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.8048, allocations: 6.188 kB / 0.9556 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.8048, allocations: 5.344 kB / 0.9556 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.8049, allocations: 33.38 kB / 0.9557 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.8049, allocations: 44.77 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.805, allocations: 119.1 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8051, allocations: 0 / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8051, allocations: 1.031 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.8051, allocations: 0 / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000907/0.806, allocations: 0.51 MB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.806, allocations: 9 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.8061, allocations: 38.22 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.8061, allocations: 19.52 kB / 0.9564 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.8063, allocations: 222 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.8063, allocations: 3.969 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.8064, allocations: 13.72 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.8069, allocations: 208.9 kB / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8069, allocations: 0 / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.8069, allocations: 1.531 kB / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8069, allocations: 1.438 kB / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.8076, allocations: 283.6 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.8085, allocations: 0.5432 MB / 0.9576 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.8089, allocations: 170.7 kB / 0.9578 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.8093, allocations: 145.2 kB / 0.9579 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.8093, allocations: 5.422 kB / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.8093, allocations: 38.56 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.8093, allocations: 1.406 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001135/0.8105, allocations: 438.3 kB / 0.9584 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.8105, allocations: 60.94 kB / 0.9584 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.8107, allocations: 179.2 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.8107, allocations: 26.98 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.8107, allocations: 126.7 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.8108, allocations: 27.83 kB / 0.9588 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.8108, allocations: 4 kB / 0.9588 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.8108, allocations: 322.7 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.8112, allocations: 136.7 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.8115, allocations: 127.9 kB / 0.9593 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.8119, allocations: 127.6 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8119, allocations: 0 / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007228/0.8126, allocations: 318.8 kB / 0.9598 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8126, allocations: 9.453 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8127, allocations: 1.094 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.8127, allocations: 0 / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.813, allocations: 61.06 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.813, allocations: 1 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.8132, allocations: 49.45 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.8132, allocations: 5.969 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.209e-05/0.8133, allocations: 132.6 kB / 0.96 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.8133, allocations: 8.938 kB / 0.96 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.8134, allocations: 30.47 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8134, allocations: 0.9688 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8134, allocations: 0 / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8134, allocations: 1.062 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.8137, allocations: 248.8 kB / 0.9603 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8137, allocations: 288 / 0.9603 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.814, allocations: 60.75 kB / 0.9603 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.814, allocations: 4.812 kB / 0.9604 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.814, allocations: 3.938 kB / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.814, allocations: 4.922 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.814, allocations: 1.094 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.8148, allocations: 414 kB / 0.9608 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.8149, allocations: 96 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.8149, allocations: 5.109 kB / 0.9609 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.8151, allocations: 49.86 kB / 0.9609 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.8152, allocations: 17.25 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.8152, allocations: 1.25 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.8153, allocations: 136.6 kB / 0.961 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8153, allocations: 1.281 kB / 0.961 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002566/0.8156, allocations: 33.16 kB / 0.9611 GB, free: 2.828 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001096/0.8167, allocations: 0.9439 MB / 0.962 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.8175, allocations: 274.9 kB / 0.9623 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8175, allocations: 0 / 0.9623 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.8178, allocations: 142.2 kB / 0.9624 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.8182, allocations: 37.11 kB / 0.9624 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.8203, allocations: 1.192 MB / 0.9636 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.8205, allocations: 0.7202 MB / 0.9643 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.825e-05/0.8206, allocations: 26.81 kB / 0.9643 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.8207, allocations: 43.33 kB / 0.9644 GB, free: 344 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.8207, allocations: 0 / 0.9644 GB, free: 344 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.8353, allocations: 3.027 MB / 0.9673 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.8355, allocations: 190.8 kB / 0.9675 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.552, allocations: 2.375 kB / 0.9675 GB, free: 14.69 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat