Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.0009075/0.0009077, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001874/0.001874, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003755, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.835/0.8354, allocations: 142.3 MB / 0.9536 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00464/0.8401, allocations: 3.647 MB / 0.9572 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.8435, allocations: 2.165 MB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006777/0.8442, allocations: 14.75 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.8447, allocations: 58.3 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.846, allocations: 288.6 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.8468, allocations: 248.6 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008429/0.8477, allocations: 430.2 kB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008906/0.8486, allocations: 426.4 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.8491, allocations: 199.4 kB / 0.9609 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.8496, allocations: 213.6 kB / 0.9611 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.8498, allocations: 16.38 kB / 0.9611 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.8504, allocations: 177.4 kB / 0.9612 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.8506, allocations: 123.4 kB / 0.9614 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.8508, allocations: 104.6 kB / 0.9615 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008621/0.8517, allocations: 0.5044 MB / 0.962 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.8517, allocations: 1.406 kB / 0.962 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8517, allocations: 0 / 0.962 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.8517, allocations: 0 / 0.962 GB, free: 2.023 MB / 0.7169 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.001372/0.8531, allocations: 0.7111 MB / 0.9627 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8531, allocations: 12.94 kB / 0.9627 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.8533, allocations: 72.41 kB / 0.9627 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.8547, allocations: 183.1 kB / 0.9629 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.8554, allocations: 385.6 kB / 0.9633 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8554, allocations: 22.59 kB / 0.9633 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.8555, allocations: 41.7 kB / 0.9633 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.8563, allocations: 0.6429 MB / 0.964 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.8564, allocations: 6.781 kB / 0.964 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.8564, allocations: 21.19 kB / 0.964 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.8565, allocations: 56.67 kB / 0.964 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.8573, allocations: 496.7 kB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.8611, allocations: 3.78 MB / 0.9682 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.8628, allocations: 0.6297 MB / 0.9688 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.8629, allocations: 7.203 kB / 0.9688 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.8629, allocations: 45.72 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.8629, allocations: 0 / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002422/0.8654, allocations: 1.274 MB / 0.9701 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.8654, allocations: 110.2 kB / 0.9702 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.8659, allocations: 394.3 kB / 0.9706 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.866, allocations: 34.61 kB / 0.9706 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.8662, allocations: 282.1 kB / 0.9709 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.8663, allocations: 113.9 kB / 0.971 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.8663, allocations: 10.16 kB / 0.971 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8665, allocations: 361.2 kB / 0.9714 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.8668, allocations: 173 kB / 0.9715 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.8672, allocations: 367.1 kB / 0.9719 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.8676, allocations: 228.6 kB / 0.9721 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8676, allocations: 2.906 kB / 0.9721 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001173/0.8688, allocations: 0.6804 MB / 0.9728 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8688, allocations: 6.875 kB / 0.9728 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8688, allocations: 6.875 kB / 0.9728 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.8692, allocations: 92.81 kB / 0.9729 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.8696, allocations: 115.8 kB / 0.973 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003513/0.8731, allocations: 4.055 MB / 0.9769 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.8736, allocations: 30.62 kB / 0.977 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.8736, allocations: 24.47 kB / 0.977 GB, free: 4.918 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.8739, allocations: 195.7 kB / 0.9772 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.874, allocations: 51.67 kB / 0.9772 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.875, allocations: 0.5155 MB / 0.9777 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.875, allocations: 8.969 kB / 0.9777 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.875, allocations: 2.25 kB / 0.9777 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.875, allocations: 3.984 kB / 0.9777 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.877, allocations: 1.293 MB / 0.979 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.877, allocations: 2.5 kB / 0.979 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.8773, allocations: 65.55 kB / 0.9791 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.8776, allocations: 90.38 kB / 0.9792 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.8776, allocations: 8.938 kB / 0.9792 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.881, allocations: 4.048 MB / 0.9831 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.881, allocations: 2.875 kB / 0.9831 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.8822, allocations: 0.9192 MB / 0.984 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.8825, allocations: 153.5 kB / 0.9842 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.8826, allocations: 12.42 kB / 0.9842 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.883, allocations: 22.66 kB / 0.9842 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.8831, allocations: 38.25 kB / 0.9842 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.8831, allocations: 9.75 kB / 0.9842 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003292/0.8834, allocations: 272.3 kB / 0.9845 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8834, allocations: 1.688 kB / 0.9845 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008023/0.8842, allocations: 123.7 kB / 0.9846 GB, free: 13.99 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.886, allocations: 2.205 MB / 0.9868 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.8875, allocations: 0.7999 MB / 0.9876 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8875, allocations: 0 / 0.9876 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.8883, allocations: 0.5556 MB / 0.9881 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.8891, allocations: 123.7 kB / 0.9882 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.8957, allocations: 7.162 MB / 0.9952 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.8963, allocations: 0.8742 MB / 0.9961 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003525/0.8967, allocations: 100.5 kB / 0.9962 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.8969, allocations: 151.4 kB / 0.9963 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of SimCode: time 1.022e-06/0.8969, allocations: 0 / 0.9963 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.9224, allocations: 9.406 MB / 1.005 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.9227, allocations: 214.9 kB / 1.006 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.809, allocations: 0 / 1.006 GB, free: 8.867 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat