Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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.0008621/0.0008621, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005069/0.005069, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 13.05 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003491/0.2693, allocations: 2.947 MB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.2723, allocations: 1.995 MB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2725, allocations: 7.938 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2726, allocations: 43.64 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.2732, allocations: 227.1 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.2738, allocations: 263.4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000526/0.2743, allocations: 0.561 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.275, allocations: 465 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.2752, allocations: 131.5 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.2756, allocations: 199.3 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.2756, allocations: 12 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004544/0.2761, allocations: 315.5 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2762, allocations: 103.6 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2763, allocations: 157 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.2769, allocations: 486.6 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2769, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2769, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2769, allocations: 4 kB / 1.066 GB, free: 12.96 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.0008646/0.2778, allocations: 0.5459 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2778, allocations: 15.91 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.2779, allocations: 66.67 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.2788, allocations: 112.4 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.2791, allocations: 273.2 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.2791, allocations: 16.94 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2793, allocations: 48.14 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.2799, allocations: 457.1 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.28, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.28, allocations: 11.98 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.2801, allocations: 40.53 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.2808, allocations: 365.9 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.2832, allocations: 2.218 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2836, allocations: 266.4 kB / 1.071 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.2838, allocations: 160.8 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2839, allocations: 7.984 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2839, allocations: 34.88 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.2839, allocations: 4 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001664/0.2856, allocations: 1.057 MB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2856, allocations: 59.27 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.2859, allocations: 256.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2859, allocations: 33.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.2861, allocations: 188 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.2861, allocations: 82.84 kB / 1.073 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.2862, allocations: 37.7 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2863, allocations: 330.8 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2866, allocations: 159.9 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.2869, allocations: 253.5 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.2874, allocations: 410.8 kB / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2875, allocations: 0 / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001144/0.2886, allocations: 0.5971 MB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2886, allocations: 8.312 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2886, allocations: 8 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.2893, allocations: 188.6 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.2896, allocations: 63.89 kB / 1.075 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.2921, allocations: 2.292 MB / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.2925, allocations: 28 kB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2926, allocations: 16.06 kB / 1.077 GB, free: 1.648 MB / 0.8262 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.0001674/0.2928, allocations: 169.7 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.2928, allocations: 23.66 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.2933, allocations: 353.1 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2934, allocations: 4 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2934, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2934, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.2943, allocations: 0.8218 MB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2944, allocations: 4 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.2947, allocations: 67.94 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2948, allocations: 0 / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.2948, allocations: 11.98 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2948, allocations: 4 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2948, allocations: 0 / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.2955, allocations: 0.6209 MB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2957, allocations: 132.8 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2957, allocations: 8 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2959, allocations: 11.98 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.296, allocations: 11.98 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.296, allocations: 12 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002207/0.2963, allocations: 196.3 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2963, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003893/0.2967, allocations: 88 kB / 1.079 GB, free: 15.02 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.000967/0.2976, allocations: 1.159 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008483/0.2985, allocations: 0.5339 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2985, allocations: 0 / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.2987, allocations: 151.8 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.2992, allocations: 54.58 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.3044, allocations: 3.862 MB / 1.085 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3048, allocations: 0.795 MB / 1.086 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.3051, allocations: 78.92 kB / 1.086 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3053, allocations: 91.39 kB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3053, allocations: 0 / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.3286, allocations: 6.412 MB / 1.092 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3288, allocations: 238.5 kB / 1.092 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.125, allocations: 4 kB / 1.092 GB, free: 1.602 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches