Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001578/0.001578, allocations: 99.86 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.001946/0.001946, 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 2.523/2.523, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.584/4.584, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007175/0.0007179, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675/1.676, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01054/1.687, allocations: 5.202 MB / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007888/1.695, allocations: 2.956 MB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009914/1.696, allocations: 27.81 kB / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/1.696, allocations: 107.2 kB / 0.989 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/1.698, allocations: 350.9 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/1.7, allocations: 362.2 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001855/1.702, allocations: 0.6414 MB / 0.9903 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/1.704, allocations: 0.9091 MB / 0.9912 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.706, allocations: 334.8 kB / 0.9915 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/1.706, allocations: 354.6 kB / 0.9918 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.707, allocations: 28 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009447/1.708, allocations: 203.6 kB / 0.992 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/1.708, allocations: 235.3 kB / 0.9923 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/1.708, allocations: 161.3 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/1.71, allocations: 0.8282 MB / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.71, allocations: 0 / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.647e-06/1.71, allocations: 0 / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.71, allocations: 4 kB / 0.9932 GB, free: 9.57 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002439/1.712, allocations: 0.9037 MB / 0.9941 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/1.712, allocations: 8.031 kB / 0.9941 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/1.712, allocations: 114.5 kB / 0.9942 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/1.715, allocations: 210.8 kB / 0.9944 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.716, allocations: 0.5094 MB / 0.9949 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/1.717, allocations: 53.3 kB / 0.995 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/1.717, allocations: 67.84 kB / 0.995 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/1.719, allocations: 1.014 MB / 0.996 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/1.719, allocations: 7.938 kB / 0.996 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.72, allocations: 35.98 kB / 0.9961 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/1.72, allocations: 65.27 kB / 0.9961 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/1.722, allocations: 0.6879 MB / 0.9968 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009046/1.731, allocations: 5.768 MB / 1.002 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.732, allocations: 0.6002 MB / 1.003 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/1.732, allocations: 4 kB / 1.003 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/1.732, allocations: 34.56 kB / 1.003 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 4.628e-06/1.732, allocations: 0 / 1.003 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.00744/1.74, allocations: 1.9 MB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/1.74, allocations: 55.41 kB / 1.005 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.741, allocations: 454.7 kB / 1.005 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/1.741, allocations: 29.7 kB / 1.005 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/1.742, allocations: 391 kB / 1.006 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/1.742, allocations: 145.9 kB / 1.006 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/1.742, allocations: 8 kB / 1.006 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002755/1.742, allocations: 370.8 kB / 1.006 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/1.743, allocations: 229.2 kB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/1.744, allocations: 437 kB / 1.007 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/1.745, allocations: 303.7 kB / 1.007 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.745, allocations: 4 kB / 1.007 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00303/1.748, allocations: 0.9762 MB / 1.008 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/1.748, allocations: 11.95 kB / 1.008 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.748, allocations: 11.94 kB / 1.008 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.749, allocations: 271.4 kB / 1.008 GB, free: 8.996 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/1.75, allocations: 107.8 kB / 1.009 GB, free: 8.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.761, allocations: 6.736 MB / 1.015 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/1.762, allocations: 35.92 kB / 1.015 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/1.762, allocations: 24 kB / 1.015 GB, free: 1.562 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006626/1.763, allocations: 245.7 kB / 1.015 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.763, allocations: 59.25 kB / 1.016 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/1.766, allocations: 0.8298 MB / 1.016 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/1.766, allocations: 4 kB / 1.016 GB, free: 404 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.766, allocations: 4 kB / 1.016 GB, free: 400 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.766, allocations: 3.984 kB / 1.016 GB, free: 396 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.771, allocations: 1.707 MB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.771, allocations: 4 kB / 1.018 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/1.771, allocations: 48.28 kB / 1.018 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/1.772, allocations: 251.3 kB / 1.018 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/1.773, allocations: 11.98 kB / 1.018 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/1.783, allocations: 6.468 MB / 1.025 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.783, allocations: 4.031 kB / 1.025 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/1.786, allocations: 0.9664 MB / 1.026 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/1.786, allocations: 172.3 kB / 1.026 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.786, allocations: 8 kB / 1.026 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/1.787, allocations: 27.97 kB / 1.026 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.787, allocations: 35.89 kB / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/1.787, allocations: 16.19 kB / 1.026 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005654/1.788, allocations: 310.9 kB / 1.026 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/1.788, allocations: 0 / 1.026 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001557/1.789, allocations: 184 kB / 1.026 GB, free: 5.434 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003265/1.793, allocations: 1.937 MB / 1.028 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.796, allocations: 1.132 MB / 1.029 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.796, allocations: 0 / 1.029 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.798, allocations: 0.7956 MB / 1.03 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.799, allocations: 186.1 kB / 1.03 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.812, allocations: 8.38 MB / 1.038 GB, free: 8.629 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.814, allocations: 1 MB / 1.039 GB, free: 7.602 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007151/1.814, allocations: 101.2 kB / 1.039 GB, free: 7.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/1.815, allocations: 231.3 kB / 1.04 GB, free: 7.273 MB / 0.795 GB Notification: Performance of SimCode: time 2.114e-06/1.815, allocations: 0 / 1.04 GB, free: 7.273 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/1.867, allocations: 13.88 MB / 1.053 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003374/1.868, allocations: 219.6 kB / 1.053 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/5.564, allocations: 4.062 kB / 1.053 GB, free: 9.418 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat