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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001339/0.001339, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.471/2.471, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 61.72 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2229, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004929/0.2279, allocations: 4.289 MB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2309, allocations: 2.377 MB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.2311, allocations: 15.88 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.2321, allocations: 382.2 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.2328, allocations: 366.2 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.2334, allocations: 319.2 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000587/0.234, allocations: 0.675 MB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.2343, allocations: 262.3 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.2346, allocations: 255 kB / 1.062 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.2349, allocations: 266.9 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.235, allocations: 28 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.2356, allocations: 435 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2357, allocations: 143.6 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2359, allocations: 242.6 kB / 1.063 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.2366, allocations: 0.7281 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2366, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2366, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2366, allocations: 0 / 1.063 GB, free: 13.5 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.0009352/0.2376, allocations: 0.7832 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2376, allocations: 8.625 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.2377, allocations: 78.66 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.2389, allocations: 188.1 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.2393, allocations: 400.5 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2393, allocations: 33.36 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.2394, allocations: 32.36 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.2401, allocations: 0.6547 MB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2401, allocations: 11.78 kB / 1.066 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2402, allocations: 23.98 kB / 1.066 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.2402, allocations: 47.97 kB / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.2408, allocations: 0.4915 MB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.2434, allocations: 3.778 MB / 1.07 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.2449, allocations: 0.6283 MB / 1.07 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.2451, allocations: 178.4 kB / 1.071 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2452, allocations: 4 kB / 1.071 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2452, allocations: 30.56 kB / 1.071 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/0.2452, allocations: 7.984 kB / 1.071 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.001881/0.2471, allocations: 1.281 MB / 1.072 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2471, allocations: 106.8 kB / 1.072 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.2475, allocations: 398.4 kB / 1.072 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2475, allocations: 33.7 kB / 1.072 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2477, allocations: 283.5 kB / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.2477, allocations: 122.3 kB / 1.073 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2478, allocations: 98.06 kB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.248, allocations: 354.8 kB / 1.073 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2482, allocations: 177 kB / 1.073 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.2485, allocations: 379.2 kB / 1.074 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.2491, allocations: 0.5951 MB / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2491, allocations: 0 / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009017/0.25, allocations: 0.6788 MB / 1.075 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.25, allocations: 8 kB / 1.075 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.25, allocations: 8 kB / 1.075 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.2503, allocations: 94.44 kB / 1.075 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.2507, allocations: 112.2 kB / 1.075 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.2534, allocations: 4.34 MB / 1.079 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.2537, allocations: 31.97 kB / 1.079 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2537, 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.0001678/0.2539, allocations: 197.7 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.254, allocations: 47.52 kB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.2547, allocations: 0.5226 MB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2547, allocations: 4 kB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2547, allocations: 0 / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2548, allocations: 11.98 kB / 1.08 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2562, allocations: 1.276 MB / 1.081 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2562, allocations: 4 kB / 1.081 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2564, allocations: 71.89 kB / 1.082 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/0.2567, allocations: 86.44 kB / 1.082 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2567, allocations: 12 kB / 1.082 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.2593, allocations: 4.332 MB / 1.086 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2594, allocations: 8.219 kB / 1.086 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.2601, allocations: 0.7814 MB / 1.087 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2602, allocations: 152.5 kB / 1.087 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2603, allocations: 12 kB / 1.087 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.2606, allocations: 19.97 kB / 1.087 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.2606, allocations: 43.84 kB / 1.087 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.2607, allocations: 15.98 kB / 1.087 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002337/0.2609, allocations: 283.1 kB / 1.087 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2609, allocations: 0 / 1.087 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005402/0.2615, allocations: 120 kB / 1.087 GB, free: 3.203 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.0009446/0.2624, allocations: 1.331 MB / 1.089 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.2634, allocations: 0.8207 MB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.2634, allocations: 7.938 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.264, allocations: 0.5476 MB / 1.09 GB, free: 364 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.2649, allocations: 137.9 kB / 1.09 GB, free: 236 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.2693, allocations: 4.585 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.2696, allocations: 0.8624 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.2699, allocations: 104.5 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.27, allocations: 155.4 kB / 1.096 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.27, allocations: 3.938 kB / 1.096 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.77/2.04, allocations: 9.876 MB / 1.105 GB, free: 480 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/15.1, allocations: 20.38 kB / 1.105 GB, free: 464 kB / 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