Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.00115/0.00115, allocations: 91.69 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.001428/0.001428, 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.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.266 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.358/2.358, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6232, allocations: 142.3 MB / 0.9539 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006175/0.6238, allocations: 309.8 kB / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.6243, allocations: 296 kB / 0.9544 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.6244, allocations: 0 / 0.9544 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.6244, allocations: 3.938 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.6244, allocations: 0 / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.6248, allocations: 67.41 kB / 0.9545 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.168e-05/0.6248, allocations: 9.453 kB / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.6249, allocations: 5.078 kB / 0.9545 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.6249, allocations: 0 / 0.9545 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.6249, allocations: 1.406 kB / 0.9545 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.647e-06/0.6249, allocations: 0 / 0.9545 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.6253, allocations: 265.1 kB / 0.9548 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-06/0.6253, allocations: 0.9688 kB / 0.9548 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.6253, allocations: 29.7 kB / 0.9548 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.6255, allocations: 51.78 kB / 0.9549 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6255, allocations: 0 / 0.9549 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6255, allocations: 0 / 0.9549 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.6255, allocations: 1.5 kB / 0.9549 GB, free: 7.359 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000189/0.6257, allocations: 330.1 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.6257, allocations: 9.125 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.6258, allocations: 30.56 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.6258, allocations: 5.547 kB / 0.9552 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.888e-05/0.6259, allocations: 167.1 kB / 0.9554 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.6259, allocations: 4 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.6259, allocations: 9.281 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.626, allocations: 27.02 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.626, allocations: 0 / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.626, allocations: 0.8438 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.626, allocations: 0 / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.626, allocations: 5.141 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.921e-05/0.6261, allocations: 146.9 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.748e-05/0.6262, allocations: 25 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.6262, allocations: 14.2 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.6266, allocations: 424.8 kB / 0.956 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.6266, allocations: 31.75 kB / 0.956 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6266, allocations: 4 kB / 0.956 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.6267, allocations: 30.52 kB / 0.9561 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.6268, allocations: 56.56 kB / 0.9561 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.478e-05/0.6268, allocations: 89.86 kB / 0.9562 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-06/0.6268, allocations: 25.7 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.6268, allocations: 81.33 kB / 0.9563 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6269, allocations: 7.891 kB / 0.9563 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.6269, allocations: 0 / 0.9563 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.6269, allocations: 320.2 kB / 0.9566 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.6269, allocations: 5 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.6269, allocations: 1.281 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.506e-05/0.6269, allocations: 1.156 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6269, allocations: 0 / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.093e-05/0.627, allocations: 35.11 kB / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.627, allocations: 6.812 kB / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.627, allocations: 0 / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.6271, allocations: 0 / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.6271, allocations: 10.77 kB / 0.9567 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6271, allocations: 0 / 0.9567 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.6271, allocations: 0 / 0.9567 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.6271, allocations: 1.125 kB / 0.9567 GB, free: 5.254 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 (1): * Single equations (assignments): 1 * 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 3.964e-05/0.6272, allocations: 111 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.6272, allocations: 1.625 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.6273, allocations: 37.3 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6273, allocations: 8.016 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6273, allocations: 1.188 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6273, allocations: 0 / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.803e-05/0.6274, allocations: 150.8 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6274, allocations: 0 / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.6274, allocations: 6.453 kB / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.6274, allocations: 0 / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.6274, allocations: 9.219 kB / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6274, allocations: 0 / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6274, allocations: 0 / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.412e-05/0.6275, allocations: 67.2 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.6275, allocations: 82.48 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.6275, allocations: 0 / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-06/0.6275, allocations: 1.344 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.6275, allocations: 0 / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.6276, allocations: 8.953 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.859e-06/0.6276, allocations: 75.28 kB / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6276, allocations: 0 / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001955/0.6278, allocations: 17.97 kB / 0.9572 GB, free: 4.617 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 (1): * Single equations (assignments): 1 * 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.0002927/0.6281, allocations: 0.6138 MB / 0.9578 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.6281, allocations: 6.75 kB / 0.9578 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6281, allocations: 0 / 0.9578 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.6282, allocations: 6.469 kB / 0.9578 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.6283, allocations: 1.797 kB / 0.9578 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.6286, allocations: 108.3 kB / 0.9579 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.6287, allocations: 0.6703 MB / 0.9586 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.6287, allocations: 1.156 kB / 0.9586 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.6287, allocations: 8.625 kB / 0.9586 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6287, allocations: 0 / 0.9586 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.6391, allocations: 0.9903 MB / 0.9596 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/0.6393, allocations: 203.3 kB / 0.9598 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.314, allocations: 0 / 0.9598 GB, free: 2.461 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat does not exist to compare? outputFormat=mat