Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001235/0.001235, allocations: 192.3 kB / 16.14 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 69.75 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2352, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004899/0.2401, allocations: 4.316 MB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.2431, allocations: 2.381 MB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2432, allocations: 15.88 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.2441, allocations: 350.6 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.2447, allocations: 346.5 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.2452, allocations: 298.6 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.2459, allocations: 0.8621 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.2463, allocations: 258.3 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.2466, allocations: 226.9 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.2469, allocations: 266.9 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.2469, allocations: 20 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.2476, allocations: 0.5379 MB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2477, allocations: 131.6 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2479, allocations: 218.7 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.2486, allocations: 0.7592 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2486, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2486, allocations: 4 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2486, allocations: 0 / 1.063 GB, free: 13.19 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009164/0.2496, allocations: 0.7793 MB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2496, allocations: 15.95 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/0.2497, allocations: 74.72 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.2509, allocations: 192.1 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2514, allocations: 400.5 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2514, allocations: 29.3 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.2515, allocations: 36.36 kB / 1.064 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.2522, allocations: 0.6469 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2523, allocations: 11.84 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.2523, allocations: 15.98 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-05/0.2524, allocations: 51.95 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.2531, allocations: 0.4915 MB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.2557, allocations: 3.786 MB / 1.069 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.2573, allocations: 0.6399 MB / 1.07 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2575, allocations: 182.5 kB / 1.07 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2575, allocations: 7.984 kB / 1.07 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2575, allocations: 38.5 kB / 1.07 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.2575, allocations: 0 / 1.07 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.001953/0.2595, allocations: 1.273 MB / 1.071 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2596, allocations: 106.8 kB / 1.071 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.2599, allocations: 397.8 kB / 1.072 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2599, allocations: 33.7 kB / 1.072 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2601, allocations: 279.5 kB / 1.072 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.2602, allocations: 126.2 kB / 1.072 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2603, allocations: 102.1 kB / 1.072 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2604, allocations: 350.8 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2606, allocations: 177 kB / 1.073 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.261, allocations: 379.3 kB / 1.073 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.2616, allocations: 0.5795 MB / 1.074 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2616, allocations: 4.281 kB / 1.074 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009588/0.2626, allocations: 0.6829 MB / 1.074 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2626, allocations: 8 kB / 1.074 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2626, allocations: 11.94 kB / 1.074 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.2629, allocations: 94.44 kB / 1.075 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.2633, allocations: 112.1 kB / 1.075 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.2659, allocations: 4.036 MB / 1.079 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.2662, allocations: 31.97 kB / 1.079 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2662, allocations: 24 kB / 1.079 GB, free: 11.81 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.2664, allocations: 203.7 kB / 1.079 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2665, allocations: 47.44 kB / 1.079 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.2673, allocations: 0.5223 MB / 1.079 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2673, allocations: 4 kB / 1.079 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2673, allocations: 4 kB / 1.079 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2674, allocations: 7.984 kB / 1.079 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2689, allocations: 1.268 MB / 1.081 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2689, allocations: 4 kB / 1.081 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.2691, allocations: 63.89 kB / 1.081 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.2694, allocations: 90.72 kB / 1.081 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2694, allocations: 20 kB / 1.081 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.2719, allocations: 4.02 MB / 1.085 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.272, allocations: 7.969 kB / 1.085 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.2727, allocations: 0.7702 MB / 1.086 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2729, allocations: 152.5 kB / 1.086 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.2729, allocations: 27.81 kB / 1.086 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.2732, allocations: 19.97 kB / 1.086 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.2733, allocations: 35.95 kB / 1.086 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2733, allocations: 8 kB / 1.086 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002438/0.2736, allocations: 283.1 kB / 1.086 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2736, allocations: 0 / 1.086 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005625/0.2741, allocations: 123.9 kB / 1.086 GB, free: 3.551 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009929/0.2751, allocations: 1.328 MB / 1.087 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.2762, allocations: 0.8058 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2762, allocations: 256 / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.2768, allocations: 0.5467 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.2777, allocations: 126 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.2826, allocations: 4.759 MB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.283, allocations: 0.8625 MB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.2833, allocations: 104.5 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.2835, allocations: 147.4 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2835, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.3026, allocations: 9.55 MB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.3028, allocations: 236.2 kB / 1.104 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.057, allocations: 0 / 1.104 GB, free: 0.7695 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches