Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001663/0.001662, allocations: 99.55 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.001956/0.001956, allocations: 177.3 kB / 15.94 MB, free: 228 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.492/2.492, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.554/4.554, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007416/0.0007417, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539/1.54, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01875/1.559, allocations: 9.252 MB / 0.9899 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0219/1.581, allocations: 8.05 MB / 0.9978 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/1.584, allocations: 47.62 kB / 0.9978 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/1.586, allocations: 258.3 kB / 0.9981 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009025/1.595, allocations: 1.252 MB / 0.9993 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/1.598, allocations: 481.9 kB / 0.9997 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005836/1.604, allocations: 1.374 MB / 1.001 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005874/1.61, allocations: 1.78 MB / 1.003 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/1.613, allocations: 0.7278 MB / 1.004 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/1.616, allocations: 0.7315 MB / 1.004 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/1.616, allocations: 60 kB / 1.004 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/1.619, allocations: 407.4 kB / 1.005 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008052/1.619, allocations: 434.7 kB / 1.005 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009766/1.62, allocations: 340.8 kB / 1.005 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004528/1.625, allocations: 1.911 MB / 1.007 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.625, allocations: 0 / 1.007 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.706e-06/1.625, allocations: 0 / 1.007 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001008/1.625, allocations: 3.938 kB / 1.007 GB, free: 11.14 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006741/1.632, allocations: 1.714 MB / 1.009 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.344e-05/1.632, allocations: 8.031 kB / 1.009 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007443/1.633, allocations: 189.9 kB / 1.009 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/1.652, allocations: 2.123 MB / 1.011 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/1.657, allocations: 1.075 MB / 1.012 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.657, allocations: 90.31 kB / 1.012 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007123/1.658, allocations: 119.9 kB / 1.012 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.669, allocations: 2.486 MB / 1.015 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/1.669, allocations: 7.984 kB / 1.015 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/1.669, allocations: 55.92 kB / 1.015 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006441/1.67, allocations: 134.1 kB / 1.015 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.683, allocations: 2.58 MB / 1.018 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/1.713, allocations: 10.11 MB / 1.027 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.723, allocations: 1.995 MB / 1.029 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/1.724, allocations: 12.44 kB / 1.029 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.934e-05/1.724, allocations: 38.94 kB / 1.029 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=53): time 5.36e-06/1.724, allocations: 0 / 1.029 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=81): time 0.05178/1.775, allocations: 8.774 MB / 1.038 GB, free: 10.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.776, allocations: 64.06 kB / 1.038 GB, free: 10.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/1.779, allocations: 1.081 MB / 1.039 GB, free: 9.422 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003871/1.779, allocations: 37.7 kB / 1.039 GB, free: 9.379 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/1.78, allocations: 0.7418 MB / 1.04 GB, free: 8.629 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/1.781, allocations: 284 kB / 1.04 GB, free: 8.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.781, allocations: 16 kB / 1.04 GB, free: 8.332 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0003408/1.781, allocations: 341.9 kB / 1.041 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/1.787, allocations: 1.099 MB / 1.042 GB, free: 6.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/1.792, allocations: 1.313 MB / 1.043 GB, free: 5.488 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.798, allocations: 1.15 MB / 1.044 GB, free: 4.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.798, allocations: 0 / 1.044 GB, free: 4.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01567/1.814, allocations: 3.304 MB / 1.047 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/1.814, allocations: 8 kB / 1.047 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/1.814, allocations: 8 kB / 1.047 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/1.819, allocations: 0.7915 MB / 1.048 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/1.822, allocations: 431.3 kB / 1.048 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02709/1.849, allocations: 14.96 MB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.854, allocations: 311.5 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/1.854, allocations: 48.91 kB / 1.063 GB, free: 15.35 MB / 0.8262 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001651/1.856, allocations: 401.5 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.857, allocations: 142.3 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.872, allocations: 3.245 MB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/1.872, allocations: 8 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-05/1.872, allocations: 12 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-05/1.872, allocations: 3.984 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.893, allocations: 4.94 MB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/1.893, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/1.896, allocations: 367.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/1.9, allocations: 0.6976 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/1.901, allocations: 39.94 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02682/1.927, allocations: 14.59 MB / 1.087 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/1.928, allocations: 11.89 kB / 1.087 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/1.942, allocations: 3.229 MB / 1.09 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.945, allocations: 387.1 kB / 1.091 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005999/1.945, allocations: 16 kB / 1.091 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/1.949, allocations: 307.8 kB / 1.091 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/1.949, allocations: 80.44 kB / 1.091 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.95, allocations: 43.97 kB / 1.091 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002106/1.952, allocations: 0.7288 MB / 1.092 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.32e-07/1.952, allocations: 3.938 kB / 1.092 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003647/1.955, allocations: 428 kB / 1.092 GB, free: 268 kB / 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01634/1.972, allocations: 4.528 MB / 1.097 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01697/1.989, allocations: 3.656 MB / 1.1 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.989, allocations: 0 / 1.1 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008795/1.998, allocations: 2.387 MB / 1.103 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/2.002, allocations: 479.1 kB / 1.103 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05356/2.056, allocations: 16.45 MB / 1.119 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/2.059, allocations: 1.419 MB / 1.121 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003176/2.062, allocations: 379.9 kB / 1.121 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/2.064, allocations: 0.593 MB / 1.122 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of SimCode: time 1.684e-06/2.064, allocations: 0 / 1.122 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/2.212, allocations: 40.26 MB / 1.161 GB, free: 9.844 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004085/2.212, allocations: 210.8 kB / 1.161 GB, free: 9.602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.192/7.404, allocations: 4 kB / 1.161 GB, free: 9.598 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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_res.mat does not exist to compare? outputFormat=mat