Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.00156/0.00156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001493/0.001493, allocations: 189.2 kB / 16.25 MB, free: 6.637 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.819/2.819, allocations: 469.8 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 66.28 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 159.2 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004722/0.2771, allocations: 3.316 MB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.2801, allocations: 1.995 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2803, allocations: 7.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009423/0.2812, allocations: 271.1 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.2817, allocations: 215.2 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.2823, allocations: 265.4 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.2827, allocations: 406.7 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.2831, allocations: 228.2 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.2833, allocations: 159.4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.2837, allocations: 207.3 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2837, allocations: 27.94 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.2841, allocations: 271.5 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2842, allocations: 111.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.2844, allocations: 151.3 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.2849, allocations: 0.4988 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2849, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.328e-06/0.285, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.285, allocations: 3.938 kB / 1.071 GB, free: 6.41 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001043/0.286, allocations: 0.5926 MB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2861, allocations: 12.03 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.2861, allocations: 62.72 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/0.2871, allocations: 116.4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2874, allocations: 281.1 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2875, allocations: 16.94 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2876, allocations: 40.48 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2883, allocations: 453.1 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2883, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.2884, allocations: 8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.2885, allocations: 40.53 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.2892, allocations: 365.9 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.2918, allocations: 2.218 MB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.2923, allocations: 274.3 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.2925, allocations: 164.8 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2925, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2926, allocations: 38.56 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 9.52e-07/0.2926, allocations: 0 / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001784/0.2944, allocations: 1.056 MB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2944, allocations: 55.41 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.2947, allocations: 260.8 kB / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2948, allocations: 33.7 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2949, allocations: 180 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.295, allocations: 98.67 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2952, allocations: 77.67 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2953, allocations: 330.8 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.2956, allocations: 155.9 kB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.296, allocations: 249.5 kB / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.2966, allocations: 410.8 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2966, allocations: 7.938 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001234/0.2978, allocations: 0.5971 MB / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2979, allocations: 8 kB / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2979, allocations: 320 / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.2986, allocations: 192.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.2989, allocations: 67.89 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.302, allocations: 2.492 MB / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.3024, allocations: 19.98 kB / 1.082 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.3024, allocations: 23.97 kB / 1.082 GB, free: 10.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.3026, allocations: 165.9 kB / 1.082 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3027, allocations: 27.66 kB / 1.082 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.3032, allocations: 351.5 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3032, allocations: 0 / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.3032, allocations: 7.938 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3033, allocations: 0 / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.3044, allocations: 0.821 MB / 1.083 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3044, allocations: 0 / 1.083 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.3048, allocations: 79.88 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3048, allocations: 0 / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3048, allocations: 8 kB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3048, allocations: 0 / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3048, allocations: 4 kB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.3056, allocations: 0.6119 MB / 1.084 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3058, allocations: 124.8 kB / 1.084 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3058, allocations: 8 kB / 1.084 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3061, allocations: 19.92 kB / 1.084 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3061, allocations: 23.84 kB / 1.084 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3062, allocations: 8 kB / 1.084 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002289/0.3064, allocations: 192.5 kB / 1.085 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3064, allocations: 0 / 1.085 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003957/0.3068, allocations: 88 kB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.001139/0.3079, allocations: 1.166 MB / 1.086 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.309, allocations: 0.5612 MB / 1.086 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.309, allocations: 4.062 kB / 1.086 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3092, allocations: 151.9 kB / 1.086 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3097, allocations: 51.7 kB / 1.086 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.3152, allocations: 3.799 MB / 1.09 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3156, allocations: 0.7912 MB / 1.091 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.3159, allocations: 78.91 kB / 1.091 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.3161, allocations: 83.39 kB / 1.091 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3161, allocations: 0 / 1.091 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.711/2.027, allocations: 6.746 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/2.027, allocations: 244.9 kB / 1.098 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/3.877, allocations: 5.625 kB / 1.098 GB, free: 10.45 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches