Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 193.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 64.05 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003245/0.2534, allocations: 2.049 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.2557, allocations: 1.667 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.2558, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.847e-05/0.2559, allocations: 23.78 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.256, allocations: 51.55 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.2568, allocations: 354.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2571, allocations: 227.1 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2572, allocations: 57.52 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2573, allocations: 87.77 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2574, allocations: 87.67 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.2575, allocations: 20 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007084/0.2582, allocations: 399.5 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.2583, allocations: 39.91 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.2584, allocations: 95.66 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.2589, allocations: 439.1 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2589, allocations: 3.984 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2589, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2589, allocations: 3.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 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.0008328/0.2598, allocations: 0.5186 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2598, allocations: 8.031 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.2599, allocations: 58.73 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.261, allocations: 140.5 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2611, allocations: 176.2 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.2612, allocations: 50.25 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.2613, allocations: 16.38 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.2618, allocations: 221.6 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2619, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2619, allocations: 12 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2619, allocations: 4 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.2627, allocations: 227.9 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2641, allocations: 0.9701 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.2646, allocations: 178.7 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.265, allocations: 108.7 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.2656, allocations: 0.522 MB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2657, allocations: 34.56 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2657, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001158/0.2669, allocations: 335.8 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2669, allocations: 55.39 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.267, allocations: 150.5 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2671, allocations: 33.7 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.2672, allocations: 120.1 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.2672, allocations: 51.2 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.2673, allocations: 41.7 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2675, allocations: 330.8 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2678, allocations: 103.9 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.2682, allocations: 125.6 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.2689, allocations: 191.5 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2689, allocations: 0 / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008274/0.2697, allocations: 279.1 kB / 1.074 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2697, allocations: 4 kB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2698, allocations: 4 kB / 1.074 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2698, allocations: 7.969 kB / 1.074 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.2701, allocations: 47.95 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2702, allocations: 3.938 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.2704, allocations: 35.81 kB / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2705, allocations: 8 kB / 1.074 GB, free: 3.113 MB / 0.8262 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.2706, allocations: 125.8 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.2707, allocations: 19.81 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.2715, allocations: 258.7 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2715, allocations: 7.938 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2715, allocations: 3.938 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2715, allocations: 3.984 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.2734, allocations: 1.087 MB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2734, allocations: 0 / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.2737, allocations: 43.91 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2737, allocations: 0 / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2737, allocations: 0 / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2737, allocations: 4 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2738, allocations: 8.047 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.2746, allocations: 348.9 kB / 1.076 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.2746, allocations: 89.02 kB / 1.076 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.2747, allocations: 0 / 1.076 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.275, allocations: 31.97 kB / 1.076 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.275, allocations: 11.92 kB / 1.076 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2751, allocations: 7.984 kB / 1.076 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.871e-05/0.2752, allocations: 126.1 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2752, allocations: 0 / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004046/0.2756, allocations: 127.9 kB / 1.077 GB, free: 0.625 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.277, allocations: 1.008 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007973/0.2778, allocations: 239.8 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2778, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.2782, allocations: 112.6 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.2786, allocations: 52.08 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.2836, allocations: 2.367 MB / 1.08 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2839, allocations: 0.7164 MB / 1.081 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.2841, allocations: 27.42 kB / 1.081 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2842, allocations: 47.41 kB / 1.081 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2842, allocations: 0 / 1.081 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9189/1.203, allocations: 6.288 MB / 1.087 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.02, allocations: 11.61 kB / 1.087 GB, free: 5.758 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches