Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.001179/0.001178, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001332/0.001332, allocations: 177.3 kB / 15.95 MB, free: 216 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.334/2.334, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6722, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.001891/0.6741, allocations: 1.633 MB / 0.9552 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.676, allocations: 1.476 MB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.6761, allocations: 1.469 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.6762, allocations: 17.16 kB / 0.9566 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.6763, allocations: 55.73 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.6771, allocations: 261.4 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.6773, allocations: 156.4 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.6774, allocations: 34.75 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/0.6775, allocations: 80.16 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.6777, allocations: 73.88 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.6777, allocations: 10.44 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.6784, allocations: 392.5 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.6785, allocations: 34.36 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.6785, allocations: 56.52 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.6789, allocations: 315.7 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.6789, allocations: 0 / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6789, allocations: 0 / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.679, allocations: 0 / 0.9581 GB, free: 4.809 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000721/0.6797, allocations: 0.4971 MB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6797, allocations: 14 kB / 0.9586 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.6798, allocations: 52.11 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.6809, allocations: 148.8 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.681, allocations: 179.3 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.6811, allocations: 46.14 kB / 0.959 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.6811, allocations: 15.59 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.6816, allocations: 220.3 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6816, allocations: 0 / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.6817, allocations: 6.031 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6817, allocations: 12.17 kB / 0.9592 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.6824, allocations: 240.4 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.6836, allocations: 0.9601 MB / 0.9604 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.684, allocations: 183.4 kB / 0.9605 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/0.6846, allocations: 0.5161 MB / 0.961 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.6846, allocations: 44.48 kB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.6846, allocations: 0 / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001099/0.6857, allocations: 336.6 kB / 0.9614 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.6857, allocations: 53.47 kB / 0.9615 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.6858, allocations: 159 kB / 0.9616 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6859, allocations: 30.67 kB / 0.9616 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.6859, allocations: 121.9 kB / 0.9618 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.686, allocations: 54.81 kB / 0.9618 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.686, allocations: 4.906 kB / 0.9618 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.6861, allocations: 322 kB / 0.9621 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.6864, allocations: 104.8 kB / 0.9622 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.6867, allocations: 129.9 kB / 0.9623 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.6871, allocations: 92.2 kB / 0.9624 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6871, allocations: 4 kB / 0.9624 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007514/0.6878, allocations: 273.2 kB / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6879, allocations: 9.734 kB / 0.9627 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6879, allocations: 0.7188 kB / 0.9627 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6879, allocations: 1.656 kB / 0.9627 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.6883, allocations: 57.52 kB / 0.9628 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6883, allocations: 4.938 kB / 0.9628 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.6886, allocations: 39.38 kB / 0.9628 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.6886, allocations: 4.719 kB / 0.9628 GB, free: 0.7617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.755e-05/0.6887, allocations: 128.6 kB / 0.9629 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.6888, allocations: 18.88 kB / 0.963 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.6895, allocations: 272.1 kB / 0.9632 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6896, allocations: 1.031 kB / 0.9632 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6896, allocations: 5.125 kB / 0.9632 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6896, allocations: 7.984 kB / 0.9632 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.6913, allocations: 1.068 MB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6914, allocations: 5.312 kB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.6917, allocations: 38.75 kB / 0.9643 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6917, allocations: 1.25 kB / 0.9643 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.6918, allocations: 5.625 kB / 0.9643 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6918, allocations: 2.219 kB / 0.9643 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6918, allocations: 5.359 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.6927, allocations: 375.4 kB / 0.9647 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6928, allocations: 97.81 kB / 0.9648 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.6929, allocations: 6.531 kB / 0.9648 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6932, allocations: 27.31 kB / 0.9648 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.6933, allocations: 15.42 kB / 0.9648 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.6933, allocations: 7.703 kB / 0.9648 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001322/0.6934, allocations: 122.1 kB / 0.9649 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6934, allocations: 0 / 0.9649 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006325/0.6941, allocations: 135 kB / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001621/0.6957, allocations: 1.169 MB / 0.9662 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007718/0.6965, allocations: 233 kB / 0.9664 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6965, allocations: 0 / 0.9664 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.6969, allocations: 114.7 kB / 0.9665 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.6972, allocations: 45.17 kB / 0.9666 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.7007, allocations: 1.402 MB / 0.968 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.7011, allocations: 0.7131 MB / 0.9687 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.7014, allocations: 37.72 kB / 0.9687 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7015, allocations: 46.59 kB / 0.9687 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7015, allocations: 0 / 0.9687 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.727, allocations: 5.882 MB / 0.9745 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/0.7273, allocations: 214.9 kB / 0.9747 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.516, allocations: 0 / 0.9747 GB, free: 8.805 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat