Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 100.1 kB / 15.88 MB, free: 12 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.001181/0.001181, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.89 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6963, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005732/0.7021, allocations: 3.274 MB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.7046, allocations: 1.367 MB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.7049, allocations: 7.938 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.706, allocations: 315 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.7065, allocations: 147.3 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.7069, allocations: 131.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.7074, allocations: 458.7 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.7078, allocations: 167.7 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.7081, allocations: 115.6 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.7084, allocations: 155.4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.7085, allocations: 16 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.7089, allocations: 211.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.709, allocations: 83.72 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.7092, allocations: 111.5 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.7096, allocations: 285.2 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7096, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7096, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.7096, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001049/0.7107, allocations: 0.5342 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7107, allocations: 12.03 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.7114, allocations: 80.58 kB / 1.025 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.7117, allocations: 253.3 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7117, allocations: 12.81 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.7118, allocations: 28.36 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.7123, allocations: 312.7 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7124, allocations: 3.938 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.7124, allocations: 8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.7124, allocations: 20.42 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.7128, allocations: 213.6 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.7146, allocations: 1.498 MB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.715, allocations: 199.6 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.7151, allocations: 48.78 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.7152, allocations: 0 / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7152, allocations: 34.56 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.7152, allocations: 4 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006064/0.7158, allocations: 259.4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.7159, allocations: 59.34 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.7161, allocations: 200.8 kB / 1.028 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.7161, allocations: 25.7 kB / 1.028 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.7163, allocations: 187.6 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.7163, allocations: 27.56 kB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.7164, allocations: 33.7 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7165, allocations: 330.8 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.7166, allocations: 43.97 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7168, allocations: 106.3 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.717, allocations: 172.3 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.717, allocations: 4 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003932/0.7174, allocations: 218.2 kB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7175, allocations: 8 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7175, allocations: 0 / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.7176, allocations: 32.83 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.7178, allocations: 31.92 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.7189, allocations: 1.323 MB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.7191, allocations: 23.75 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.7191, allocations: 7.984 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.7192, allocations: 157.9 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.7193, allocations: 19.75 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.7193, allocations: 21.39 kB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7193, allocations: 0 / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7193, allocations: 0 / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7194, allocations: 0 / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.72, allocations: 491.6 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.72, allocations: 0 / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.7201, allocations: 11.98 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.631e-05/0.7202, allocations: 24.84 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.7202, allocations: 0 / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.7212, allocations: 1.323 MB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7212, allocations: 3.938 kB / 1.032 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.7215, allocations: 244.3 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.7216, allocations: 104.8 kB / 1.032 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.7216, allocations: 0 / 1.032 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7217, allocations: 7.984 kB / 1.032 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.7218, allocations: 8 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.7218, allocations: 8 kB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001282/0.7219, allocations: 148.5 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7219, allocations: 0 / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003553/0.7223, allocations: 55.84 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001125/0.7224, allocations: 107.2 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.7229, allocations: 226.6 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7229, allocations: 192 / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.7231, allocations: 171.2 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.7235, allocations: 35.91 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.7243, allocations: 0.5093 MB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.7246, allocations: 0.7518 MB / 1.034 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.7247, allocations: 15.44 kB / 1.034 GB, free: 360 kB / 0.7794 GB Notification: Performance of SimCode: time 1.913e-06/0.7247, allocations: 0 / 1.034 GB, free: 360 kB / 0.7794 GB Notification: Performance of Templates: time 0.005429/0.7301, allocations: 3.22 MB / 1.037 GB, free: 13.14 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches